Skip to content

Commit b244df8

Browse files
committed
fixup! modernize-use-equals-default
1 parent 36631e2 commit b244df8

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

thrust/thrust/device_allocator.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ class device_allocator
120120
};
121121

122122
/*! Default constructor has no effect. */
123+
_CCCL_EXEC_CHECK_DISABLE
123124
device_allocator() = default;
124125

125126
/*! Copy constructor has no effect. */
@@ -136,6 +137,7 @@ class device_allocator
136137
device_allocator& operator=(const device_allocator&) = default;
137138

138139
/*! Destructor has no effect. */
140+
_CCCL_EXEC_CHECK_DISABLE
139141
~device_allocator() = default;
140142
};
141143

thrust/thrust/device_malloc_allocator.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,15 @@ class device_malloc_allocator
103103
}; // end rebind
104104

105105
/*! No-argument constructor has no effect. */
106+
_CCCL_EXEC_CHECK_DISABLE
106107
inline device_malloc_allocator() = default;
107108

108109
/*! No-argument destructor has no effect. */
110+
_CCCL_EXEC_CHECK_DISABLE
109111
inline ~device_malloc_allocator() = default;
110112

111113
/*! Copy constructor has no effect. */
114+
_CCCL_EXEC_CHECK_DISABLE
112115
inline device_malloc_allocator(device_malloc_allocator const&) = default;
113116

114117
/*! Constructor from other \p device_malloc_allocator has no effect. */

thrust/thrust/mr/allocator.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ class stateless_resource_allocator : public thrust::mr::allocator<T, Upstream>
206206
stateless_resource_allocator& operator=(const stateless_resource_allocator&) = default;
207207

208208
/*! Destructor. */
209+
_CCCL_EXEC_CHECK_DISABLE
209210
~stateless_resource_allocator() = default;
210211
};
211212

0 commit comments

Comments
 (0)