summaryrefslogtreecommitdiff
path: root/src/hash_map.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2024-08-10 11:26:26 +1000
committerMaxime Coste <mawww@kakoune.org>2024-08-12 20:02:11 +1000
commit560e3631ec57d34c679e6b0faec1e0efdd18d915 (patch)
tree4b4e00ab1fefaaa4a98b3d6a7c46fab50120fd8b /src/hash_map.cc
parent6ed01f402b3a54495c8d9e462b7674864fbbe402 (diff)
Move debug utils to debug.hh/debug.cc
Lots of code includes buffer_utils.hh just for write_to_debug_buffer which pulls many unnecessary dependencies. Reorganise to reduce compile times.
Diffstat (limited to 'src/hash_map.cc')
-rw-r--r--src/hash_map.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/hash_map.cc b/src/hash_map.cc
index ae486490..c0afa4a2 100644
--- a/src/hash_map.cc
+++ b/src/hash_map.cc
@@ -2,10 +2,12 @@
#include "clock.hh"
#include "string.hh"
-#include "buffer_utils.hh"
#include "unit_tests.hh"
+#include "format.hh"
+#include "debug.hh"
#include <random>
+#include <algorithm>
#include <unordered_map>
namespace Kakoune