Skip to content

Commit

Permalink
node layers shouldn't be static.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcushutchings committed Oct 24, 2023
1 parent 968df3a commit deacf22
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions rts/Sim/Path/QTPFS/PathManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ namespace QTPFS {

unsigned int PathManager::LAYERS_PER_UPDATE;
unsigned int PathManager::MAX_TEAM_SEARCHES;

std::vector<NodeLayer> PathManager::nodeLayers;
}

QTPFS::PathManager::PathManager() {
Expand Down
2 changes: 1 addition & 1 deletion rts/Sim/Path/QTPFS/PathManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ namespace QTPFS {
bool IsFinalized() const { return isFinalized; }

public:
static std::vector<NodeLayer> nodeLayers;
std::vector<NodeLayer> nodeLayers;

private:
PathCache pathCache;
Expand Down

0 comments on commit deacf22

Please sign in to comment.