Skip to content

Commit

Permalink
Improve include header order
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackarain committed Nov 2, 2023
1 parent 51065af commit 03ea5f1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions autogit/include/watchman/linux/linux_watchman.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@

#pragma once

#include <type_traits>
#include <utility>
#include <string>
#include <string_view>
#include <array>
#include <memory>

#include <boost/asio/any_io_executor.hpp>
#include <boost/asio/async_result.hpp>
#include <boost/asio/posix/stream_descriptor.hpp>
Expand All @@ -20,13 +27,6 @@
#include <boost/bimap.hpp>
#include <boost/throw_exception.hpp>

#include <type_traits>
#include <utility>
#include <string>
#include <string_view>
#include <array>
#include <memory>

#include <sys/inotify.h>

#include "watchman/notify_event.hpp"
Expand Down
2 changes: 1 addition & 1 deletion autogit/include/watchman/notify_event.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

#pragma once

#include <boost/filesystem.hpp>
#include <vector>
#include <boost/filesystem.hpp>

namespace watchman {
namespace fs = boost::filesystem;
Expand Down
12 changes: 6 additions & 6 deletions autogit/include/watchman/windows/windows_watchman.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@

#pragma once

#include <type_traits>
#include <utility>
#include <string>
#include <string_view>
#include <memory>

#include <boost/asio/any_io_executor.hpp>
#include <boost/asio/async_result.hpp>
#include <boost/asio/associated_cancellation_slot.hpp>
Expand All @@ -21,12 +27,6 @@
#include <boost/system/error_code.hpp>
#include <boost/system/system_error.hpp>

#include <type_traits>
#include <utility>
#include <string>
#include <string_view>
#include <memory>

#ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
#endif // !WIN32_LEAN_AND_MEAN
Expand Down

0 comments on commit 03ea5f1

Please sign in to comment.