We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c9ea2f commit 0d501cdCopy full SHA for 0d501cd
1 file changed
cpp/src/arrow/stl_allocator.h
@@ -60,7 +60,7 @@ class allocator {
60
/// \brief Construct an allocator from the default MemoryPool
61
allocator() noexcept : pool_(default_memory_pool()) {}
62
/// \brief Construct an allocator from the given MemoryPool
63
- allocator(MemoryPool* pool) noexcept : pool_(pool) {}
+ allocator(MemoryPool* pool) noexcept : pool_(pool) {} // NOLINT: runtime/explicit
64
65
template <class U>
66
allocator(const allocator<U>& rhs) noexcept : pool_(rhs.pool()) {}
0 commit comments