From 03ea5f128532f84a6d9765bcb5d14e6561fdc378 Mon Sep 17 00:00:00 2001 From: jackarain Date: Thu, 2 Nov 2023 20:29:56 +0800 Subject: [PATCH] Improve include header order --- autogit/include/watchman/linux/linux_watchman.hpp | 14 +++++++------- autogit/include/watchman/notify_event.hpp | 2 +- .../include/watchman/windows/windows_watchman.hpp | 12 ++++++------ 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/autogit/include/watchman/linux/linux_watchman.hpp b/autogit/include/watchman/linux/linux_watchman.hpp index 55b48ad6a..8aa37d522 100644 --- a/autogit/include/watchman/linux/linux_watchman.hpp +++ b/autogit/include/watchman/linux/linux_watchman.hpp @@ -11,6 +11,13 @@ #pragma once +#include +#include +#include +#include +#include +#include + #include #include #include @@ -20,13 +27,6 @@ #include #include -#include -#include -#include -#include -#include -#include - #include #include "watchman/notify_event.hpp" diff --git a/autogit/include/watchman/notify_event.hpp b/autogit/include/watchman/notify_event.hpp index 19883368a..0826cf0d5 100644 --- a/autogit/include/watchman/notify_event.hpp +++ b/autogit/include/watchman/notify_event.hpp @@ -11,8 +11,8 @@ #pragma once -#include #include +#include namespace watchman { namespace fs = boost::filesystem; diff --git a/autogit/include/watchman/windows/windows_watchman.hpp b/autogit/include/watchman/windows/windows_watchman.hpp index 3b1d0cda5..a039dadab 100644 --- a/autogit/include/watchman/windows/windows_watchman.hpp +++ b/autogit/include/watchman/windows/windows_watchman.hpp @@ -11,6 +11,12 @@ #pragma once +#include +#include +#include +#include +#include + #include #include #include @@ -21,12 +27,6 @@ #include #include -#include -#include -#include -#include -#include - #ifndef WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN #endif // !WIN32_LEAN_AND_MEAN