diff options
Diffstat (limited to 'libmemunreachable/tests/MemUnreachable_test.cpp')
-rw-r--r-- | libmemunreachable/tests/MemUnreachable_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmemunreachable/tests/MemUnreachable_test.cpp b/libmemunreachable/tests/MemUnreachable_test.cpp index 0747b12b6..2ae3db83e 100644 --- a/libmemunreachable/tests/MemUnreachable_test.cpp +++ b/libmemunreachable/tests/MemUnreachable_test.cpp @@ -27,7 +27,7 @@ void* ptr; class HiddenPointer { public: - HiddenPointer(size_t size = 256) { + explicit HiddenPointer(size_t size = 256) { Set(malloc(size)); } ~HiddenPointer() { |