We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2385ae commit 371c628Copy full SHA for 371c628
sycl/source/detail/device_global_map.hpp
@@ -27,8 +27,8 @@ class DeviceGlobalMap {
27
DeviceGlobalMap(bool OwnerControlledCleanup)
28
: MOwnerControlledCleanup{OwnerControlledCleanup} {}
29
30
- DeviceGlobalMap(const DeviceGlobalMap &) = default;
31
- DeviceGlobalMap &operator=(const DeviceGlobalMap &) = default;
+ DeviceGlobalMap(const DeviceGlobalMap &) = delete;
+ DeviceGlobalMap &operator=(const DeviceGlobalMap &) = delete;
32
33
~DeviceGlobalMap() noexcept(false) {
34
if (!MOwnerControlledCleanup)
0 commit comments