summaryrefslogtreecommitdiff
path: root/src/safe_ptr.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2024-08-26 20:23:29 +1000
committerMaxime Coste <mawww@kakoune.org>2024-08-26 20:23:32 +1000
commit202747e68896aebbe38cc160391629e020f0c2a1 (patch)
tree0404d94cf43cc6940816436de83b94caa67b8823 /src/safe_ptr.hh
parentd1554b969ee5581ed009096c0ab39b40e1ab819c (diff)
Fix includes for debug build
Looks like we've been over eager with removing unused includes and did not realize they were only unused in optimized builds.
Diffstat (limited to 'src/safe_ptr.hh')
-rw-r--r--src/safe_ptr.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/safe_ptr.hh b/src/safe_ptr.hh
index d08a9a79..216a14ff 100644
--- a/src/safe_ptr.hh
+++ b/src/safe_ptr.hh
@@ -3,6 +3,7 @@
// #define SAFE_PTR_TRACK_CALLSTACKS
+#include "assert.hh"
#include "ref_ptr.hh"
#ifdef SAFE_PTR_TRACK_CALLSTACKS