From 956b95a95c95987564bdd51cbb8b574b964112df Mon Sep 17 00:00:00 2001 From: antoniofilipovic Date: Fri, 6 Oct 2023 16:59:46 +0200 Subject: [PATCH] remove unnecessary includes --- src/memgraph.cpp | 1 - src/memory/memory_control.cpp | 11 ----------- 2 files changed, 12 deletions(-) diff --git a/src/memgraph.cpp b/src/memgraph.cpp index 20f3ef1de..edc7b5f90 100644 --- a/src/memgraph.cpp +++ b/src/memgraph.cpp @@ -95,7 +95,6 @@ void InitSignalHandlers(const std::function &shutdown_fun) { auto shutdown = [shutdown_fun]() { if (is_shutting_down) return; is_shutting_down = 1; - // memgraph::memory::UnSetHooks(); shutdown_fun(); }; diff --git a/src/memory/memory_control.cpp b/src/memory/memory_control.cpp index 6c3c7173e..01e9a88b7 100644 --- a/src/memory/memory_control.cpp +++ b/src/memory/memory_control.cpp @@ -10,24 +10,13 @@ // licenses/APL.txt. #include "memory_control.hpp" -#include -#include -#include -#include -#include -#include -#include "spdlog/spdlog.h" #include "utils/logging.hpp" #include "utils/memory_tracker.hpp" -#include "utils/readable_size.hpp" #if USE_JEMALLOC #include #endif -#include -#include - namespace memgraph::memory { // NOLINTNEXTLINE(cppcoreguidelines-macro-usage)