diff options
Diffstat (limited to 'openjdkjvmti/jvmti_allocator.h')
-rw-r--r-- | openjdkjvmti/jvmti_allocator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openjdkjvmti/jvmti_allocator.h b/openjdkjvmti/jvmti_allocator.h index e6cbc85170..11af7b67e7 100644 --- a/openjdkjvmti/jvmti_allocator.h +++ b/openjdkjvmti/jvmti_allocator.h @@ -58,7 +58,7 @@ class JvmtiAllocator<void> { JvmtiAllocator() : env_(nullptr) {} template <typename U> - JvmtiAllocator(const JvmtiAllocator<U>& other) // NOLINT, implicit + JvmtiAllocator(const JvmtiAllocator<U>& other) : env_(other.env_) {} JvmtiAllocator(const JvmtiAllocator& other) = default; @@ -95,7 +95,7 @@ class JvmtiAllocator { JvmtiAllocator() : env_(nullptr) {} template <typename U> - JvmtiAllocator(const JvmtiAllocator<U>& other) // NOLINT, implicit + JvmtiAllocator(const JvmtiAllocator<U>& other) : env_(other.env_) {} JvmtiAllocator(const JvmtiAllocator& other) = default; |