]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
chore: Remove redundant include of algorithm header
authorJoel Rosdahl <joel@rosdahl.net>
Fri, 29 Jul 2022 09:30:59 +0000 (11:30 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Fri, 29 Jul 2022 09:34:02 +0000 (11:34 +0200)
Closes #1126.

src/Util.cpp

index 089198ca84f33fcfd6b1330c18cc92c23e875be7..45b3f28413fbf19b095fcbeed8b785371d5ad472 100644 (file)
@@ -32,8 +32,6 @@
 #include <util/path.hpp>
 #include <util/string.hpp>
 
-#include <algorithm>
-
 extern "C" {
 #include "third_party/base32hex.h"
 }
@@ -48,12 +46,6 @@ extern "C" {
 
 #include <fcntl.h>
 
-#include <algorithm>
-#include <climits>
-#include <codecvt>
-#include <fstream>
-#include <locale>
-
 #ifndef HAVE_DIRENT_H
 #  include <filesystem>
 #endif
@@ -96,6 +88,12 @@ extern "C" {
 #  endif
 #endif
 
+#include <algorithm>
+#include <climits>
+#include <codecvt>
+#include <fstream>
+#include <locale>
+
 using IncludeDelimiter = util::Tokenizer::IncludeDelimiter;
 
 namespace {