aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/function/SecureMemoryAllocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/function/SecureMemoryAllocator.h')
-rw-r--r--src/core/function/SecureMemoryAllocator.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/function/SecureMemoryAllocator.h b/src/core/function/SecureMemoryAllocator.h
index b938429e..e9f1c1c3 100644
--- a/src/core/function/SecureMemoryAllocator.h
+++ b/src/core/function/SecureMemoryAllocator.h
@@ -31,6 +31,8 @@
#include <cstdint>
#include <memory>
+#include "core/utils/LogUtils.h"
+
namespace GpgFrontend {
class GPGFRONTEND_CORE_EXPORT SecureMemoryAllocator {
@@ -46,10 +48,6 @@ template <typename T>
struct SecureObjectDeleter {
void operator()(T *ptr) {
if (ptr) {
- SPDLOG_TRACE(
- "secure object deleter trys to deconstruct and free object, "
- "type: {}, addr: {}",
- typeid(T).name(), static_cast<void *>(ptr));
ptr->~T();
SecureMemoryAllocator::Deallocate(ptr);
}