Skip to content

Commit

Permalink
Fix config reader
Browse files Browse the repository at this point in the history
  • Loading branch information
halamix2 committed Oct 9, 2021
1 parent 8204359 commit 185ba01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 0 additions & 4 deletions skFreeze/gameConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ GameConfig::GameConfig()

ss >> key >> equalSign >> value;

std::stringstream ss2;
ss2 << key << equalSign << value;
OutputDebugString(ss2.str().c_str());

configContainer.insert({ key, value });
}

Expand Down
2 changes: 2 additions & 0 deletions skScreen/gameConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ GameConfig::GameConfig()
std::string key;
std::string equalSign;
std::string value;

ss >> key >> equalSign >> value;

configContainer.insert({ key, value });
}
Expand Down

0 comments on commit 185ba01

Please sign in to comment.