fix: tidy namespace Scenes::/Info:: PascalCase i locals UPPER_CASE

This commit is contained in:
2026-05-16 15:06:16 +02:00
parent ae89b252e2
commit ae359f4a1e
55 changed files with 303 additions and 303 deletions
+5 -5
View File
@@ -1,6 +1,6 @@
#include "game/scenes/scene_registry.hpp"
namespace scenes {
namespace Scenes {
auto SceneRegistry::instance() -> SceneRegistry& {
static SceneRegistry inst;
@@ -12,11 +12,11 @@ namespace scenes {
}
auto SceneRegistry::tryCreate(int state_key) const -> std::unique_ptr<Scene> {
const auto it = factories_.find(state_key);
if (it == factories_.end()) {
const auto IT = factories_.find(state_key);
if (IT == factories_.end()) {
return nullptr;
}
return it->second();
return IT->second();
}
} // namespace scenes
} // namespace Scenes