From ea90f7b9c2f8a937bd040719a5585be83ba45f9a Mon Sep 17 00:00:00 2001 From: Matthew Parkinson Date: Wed, 25 Aug 2021 11:41:09 +0100 Subject: [PATCH] Don't include iostream. --- src/backend/globalconfig.h | 5 +++-- src/mem/slaballocator.h | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/backend/globalconfig.h b/src/backend/globalconfig.h index f084703..1e1cd92 100644 --- a/src/backend/globalconfig.h +++ b/src/backend/globalconfig.h @@ -6,8 +6,9 @@ #include "../mem/slaballocator.h" #include "commonconfig.h" -#include - +#ifdef SNMALLOC_TRACING +# include +#endif namespace snmalloc { // Forward reference to thread local cleanup. diff --git a/src/mem/slaballocator.h b/src/mem/slaballocator.h index 367509b..4341ff1 100644 --- a/src/mem/slaballocator.h +++ b/src/mem/slaballocator.h @@ -8,6 +8,8 @@ # include #endif +#include + namespace snmalloc { /**