]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
refactor: Tweak includes
authorJoel Rosdahl <joel@rosdahl.net>
Sat, 16 Nov 2024 10:08:28 +0000 (11:08 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 16 Nov 2024 12:26:02 +0000 (13:26 +0100)
src/ccache/util/logging.cpp
src/ccache/util/logging.hpp

index 0e90dff8f0e6df311d173b46ef0d234e29ce72ae..304440275e3187bdd53f614f5cac338d5ecfdb0e 100644 (file)
@@ -25,6 +25,8 @@
 #include <ccache/util/logging.hpp>
 #include <ccache/util/time.hpp>
 
+#include <string>
+
 #ifdef HAVE_UNISTD_H
 #  include <unistd.h>
 #endif
index 92c4186e8ce6a2396dbdb0f806d8a34e0c0133e7..f4a72f4107e584cb6cef33608324e31ad5a30ea8 100644 (file)
@@ -24,7 +24,6 @@
 #include <fmt/format.h>
 
 #include <filesystem>
-#include <string>
 #include <string_view>
 
 // Log a raw message (plus a newline character).