diff options
author | HampusM <hampus@hampusmat.com> | 2022-06-27 22:08:43 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-27 22:08:43 +0200 |
commit | 6b0e2a25cf1e98d3f11d4e6c0305dd327048bbb8 (patch) | |
tree | a62c23f4e66949fe109e07dec95ad3a3e5229a7c /src/game/generation_tracker.hpp | |
parent | 9d0fe1b42c9f6a5c09bab444966d347a71a4b905 (diff) |
refactor: use int types from std namespace
Diffstat (limited to 'src/game/generation_tracker.hpp')
-rw-r--r-- | src/game/generation_tracker.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/generation_tracker.hpp b/src/game/generation_tracker.hpp index 1a83d71..7c67280 100644 --- a/src/game/generation_tracker.hpp +++ b/src/game/generation_tracker.hpp @@ -9,16 +9,16 @@ class GenerationTracker : public IGenerationTracker public: explicit GenerationTracker(bool is_paused) noexcept; - [[nodiscard]] auto get_current_generation() const noexcept -> uint32_t override; + [[nodiscard]] auto get_current_generation() const noexcept -> std::uint32_t override; - void set_current_generation(uint32_t current_generation) noexcept override; + void set_current_generation(std::uint32_t current_generation) noexcept override; [[nodiscard]] auto get_is_paused() const noexcept -> bool override; void set_is_paused(bool is_paused) noexcept override; private: - uint32_t _current_generation = 0U; + std::uint32_t _current_generation = 0U; bool _is_paused; }; |