Skip to content

Commit

Permalink
refactor: improve includes
Browse files Browse the repository at this point in the history
  • Loading branch information
Disservin committed Jan 19, 2025
1 parent d4df141 commit 9041f0d
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app/src/matchmaking/sprt/sprt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
#include <cmath>
#include <iomanip>
#include <sstream>
#include <stdexcept>
#include <string>
#include <utility>
#include <vector>

#include <core/logger/logger.hpp>
#include <matchmaking/stats.hpp>
Expand Down
7 changes: 7 additions & 0 deletions app/src/matchmaking/tournament/base/tournament.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#include <matchmaking/tournament/base/tournament.hpp>

#include <atomic>
#include <functional>
#include <memory>
#include <string>
#include <utility>
#include <vector>

#include <affinity/affinity_manager.hpp>
#include <core/filesystem/file_writer.hpp>
#include <core/logger/logger.hpp>
Expand Down
5 changes: 5 additions & 0 deletions app/src/matchmaking/tournament/base/tournament.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#pragma once

#include <atomic>
#include <functional>
#include <memory>
#include <string>
#include <utility>
#include <vector>

#include <affinity/affinity_manager.hpp>
Expand Down
8 changes: 8 additions & 0 deletions app/src/matchmaking/tournament/roundrobin/roundrobin.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
#include <matchmaking/tournament/roundrobin/roundrobin.hpp>

#include <atomic>
#include <memory>
#include <mutex>
#include <optional>
#include <thread>
#include <utility>
#include <vector>

#include <chess.hpp>

#include <core/logger/logger.hpp>
Expand Down
4 changes: 4 additions & 0 deletions app/src/matchmaking/tournament/roundrobin/roundrobin.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#pragma once

#include <atomic>
#include <mutex>
#include <vector>

#include <affinity/affinity_manager.hpp>
#include <core/filesystem/file_writer.hpp>
#include <core/memory/cache.hpp>
Expand Down
2 changes: 1 addition & 1 deletion app/src/matchmaking/tournament/roundrobin/scheduler.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#pragma once

#include <core/config/config.hpp>
#include <optional>
#include <tuple>
#include <vector>

#include <core/config/config.hpp>
#include <game/book/opening_book.hpp>
#include <matchmaking/tournament/schedule/scheduler.hpp>

Expand Down

0 comments on commit 9041f0d

Please sign in to comment.