File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -913,9 +913,9 @@ class StandardMem : public SubComponent
913
913
return str.str ();
914
914
}
915
915
916
- CustomData* data; /* Custom class that holds data for this event */
917
- Addr iPtr; /* Instruction pointer */
918
- uint32_t tid; /* Thread ID */
916
+ std::unique_ptr< CustomData> data; /* Custom class that holds data for this event */
917
+ Addr iPtr; /* Instruction pointer */
918
+ uint32_t tid; /* Thread ID */
919
919
};
920
920
921
921
class CustomResp : public Request
@@ -951,9 +951,9 @@ class StandardMem : public SubComponent
951
951
return str.str ();
952
952
}
953
953
954
- CustomData* data; /* Custom class that holds data for this event */
955
- Addr iPtr; /* Instruction pointer */
956
- uint32_t tid; /* Thread ID */
954
+ std::unique_ptr< CustomData> data; /* Custom class that holds data for this event */
955
+ Addr iPtr; /* Instruction pointer */
956
+ uint32_t tid; /* Thread ID */
957
957
};
958
958
959
959
/* Class for implementation-specific converter functions */
You can’t perform that action at this time.
0 commit comments