diff options
| author | Maxime Coste <mawww@kakoune.org> | 2024-08-10 11:26:26 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2024-08-12 20:02:11 +1000 |
| commit | 560e3631ec57d34c679e6b0faec1e0efdd18d915 (patch) | |
| tree | 4b4e00ab1fefaaa4a98b3d6a7c46fab50120fd8b /src/window.cc | |
| parent | 6ed01f402b3a54495c8d9e462b7674864fbbe402 (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/window.cc')
| -rw-r--r-- | src/window.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/window.cc b/src/window.cc index e296a62d..e992af01 100644 --- a/src/window.cc +++ b/src/window.cc @@ -1,13 +1,15 @@ #include "window.hh" #include "assert.hh" +#include "buffer.hh" +#include "buffer_utils.hh" #include "clock.hh" #include "context.hh" #include "highlighter.hh" #include "hook_manager.hh" #include "input_handler.hh" #include "client.hh" -#include "buffer_utils.hh" +#include "debug.hh" #include "option.hh" #include "option_types.hh" #include "profile.hh" |
