diff options
| author | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2025-02-12 21:57:46 +1100 |
|---|---|---|
| committer | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2025-02-12 21:57:46 +1100 |
| commit | e4483eca01b48b943cd0461e24a74ae1a3139ed4 (patch) | |
| tree | ed58c3c246e3af1af337697695d780aa31f6ad9a /src/server/chunk_data.hh | |
| parent | 1cc08c51eb4b0f95c30c0a98ad1fc5ad3459b2df (diff) | |
Update to most recent version (old initial commit)
Diffstat (limited to 'src/server/chunk_data.hh')
| -rw-r--r-- | src/server/chunk_data.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/chunk_data.hh b/src/server/chunk_data.hh index eea5cef..349d4dc 100644 --- a/src/server/chunk_data.hh +++ b/src/server/chunk_data.hh @@ -5,8 +5,8 @@ #include <optional> #include <unordered_set> -#include "server/world.hh" -#include "shared/player.hh" +#include "server/world/chunk.hh" +#include "shared/entity/player.hh" namespace server { @@ -15,7 +15,7 @@ public: // nullopt = constructing/destructing via future operations in thread pool // we use shared_ptr here to avoid complex moves in boost::asio::post. // There is no good reason to use shared_ptr over unique_ptr, other than - // boost::asio::post requiring copy_constructable args in std::bind. + // boost::asio::post requiring copy_constructable args in std::bind. std::optional<std::shared_ptr<server::world::chunk>> chunk; // players associated with the chunk std::unordered_set<shared::player::index_t> players; |
