Applied clang format

This commit is contained in:
Pepe20129 2025-04-13 22:31:08 +02:00
commit 2d5023663c
2 changed files with 41 additions and 41 deletions

View file

@ -226,13 +226,13 @@ Region::Region() = default;
Region::Region(std::string regionName_, SceneID scene_, std::set<RandomizerArea> areas,
std::vector<EventAccess> events_, std::vector<LocationAccess> locations_,
std::list<Rando::Entrance> exits_)
: regionName(std::move(regionName_)), scene(scene_), areas(areas),
events(std::move(events_)), locations(std::move(locations_)), exits(std::move(exits_)) {
: regionName(std::move(regionName_)), scene(scene_), areas(areas), events(std::move(events_)),
locations(std::move(locations_)), exits(std::move(exits_)) {
}
Region::Region(std::string regionName_, SceneID scene_, std::vector<EventAccess> events_,
std::vector<LocationAccess> locations_, std::list<Rando::Entrance> exits_)
: regionName(std::move(regionName_)), scene(scene_), areas(CalculateAreas(scene_)),
events(std::move(events_)), locations(std::move(locations_)), exits(std::move(exits_)) {
: regionName(std::move(regionName_)), scene(scene_), areas(CalculateAreas(scene_)), events(std::move(events_)),
locations(std::move(locations_)), exits(std::move(exits_)) {
}
Region::~Region() = default;

View file

@ -115,8 +115,8 @@ class Region {
Region();
Region(std::string regionName_, SceneID scene_, std::set<RandomizerArea> areas, std::vector<EventAccess> events_,
std::vector<LocationAccess> locations_, std::list<Rando::Entrance> exits_);
Region(std::string regionName_, SceneID scene_, std::vector<EventAccess> events_, std::vector<LocationAccess> locations_,
std::list<Rando::Entrance> exits_);
Region(std::string regionName_, SceneID scene_, std::vector<EventAccess> events_,
std::vector<LocationAccess> locations_, std::list<Rando::Entrance> exits_);
~Region();
std::string regionName;