Skip to content

Commit c6a896e

Browse files
AllanZyneKornevNikita
authored andcommitted
[DeviceMSAN] Fix coverity issue of MSan (#18210)
1 parent a9c6892 commit c6a896e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

unified-runtime/source/loader/layers/sanitizer/msan/msan_interceptor.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@ struct MsanRuntimeDataWrapper {
160160
MsanRuntimeDataWrapper(ur_context_handle_t Context, ur_device_handle_t Device)
161161
: Context(Context), Device(Device) {}
162162

163+
MsanRuntimeDataWrapper(const MsanRuntimeDataWrapper &) = delete;
164+
165+
MsanRuntimeDataWrapper &operator=(const MsanRuntimeDataWrapper &) = delete;
166+
163167
~MsanRuntimeDataWrapper();
164168

165169
MsanRuntimeData *getDevicePtr() {

0 commit comments

Comments
 (0)