Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cubic-server/Server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@

#include <mbedtls/rsa.h>

#if PROMETHEUS_SUPPORT == 1
#include "PrometheusExporter.hpp"
#endif

#include "Server.hpp"
#include "World.hpp"

Expand Down
2 changes: 1 addition & 1 deletion cubic-server/math/Vector2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class Vector2 {
return *this;
}

constexpr Vector2 operator%(const Vector2 &other) noexcept { return Vector2<T>(other.x % this->x, other.z % this->y, other.z % this->z); }
constexpr Vector2 operator%(const Vector2 &other) noexcept { return Vector2<T>(other.x % this->x, other.z % this->z); }

constexpr Vector2 operator%(const T &other) noexcept { return Vector2<T>(other % this->x, other % this->z); }

Expand Down
2 changes: 2 additions & 0 deletions cubic-server/thread_pool/Pool.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#include <algorithm>

#include "Pool.hpp"

thread_pool::Pool::Pool(size_t nbThreads, const std::string &name, const Behavior &behavior):
Expand Down
1 change: 1 addition & 0 deletions cubic-server/thread_pool/PriorityThreadPool.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
//=============
// STD includes
//=============
#include <algorithm>
#include <atomic>
#include <climits>
#include <cstdint>
Expand Down