Skip to content

Commit

Permalink
more clang compile error fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Jun 2, 2017
1 parent 16eeb54 commit 80a91dc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/HighScore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ bool HighScoreImpl::WriteReplayData(bool duringload) {
ASSERT(vNoteRowVector.size() > 0);

if (!fileStream) {
LOG->Warn("Failed to create replay file at %s", path);
LOG->Warn("Failed to create replay file at %s", path.c_str());
return false;
}

Expand All @@ -563,7 +563,7 @@ bool HighScoreImpl::WriteReplayData(bool duringload) {
append = to_string(vNoteRowVector[idx]) + " " + to_string(vOffsetVector[idx]);
fileStream.write(append.c_str(), append.size());
fileStream.close();
LOG->Trace("Created replay file at %s", path);
LOG->Trace("Created replay file at %s", path.c_str());
return true;
}

Expand Down Expand Up @@ -593,7 +593,7 @@ bool HighScore::LoadReplayData(bool duringload) {

//check file
if (!fileStream) {
LOG->Warn("Failed to load replay data at %s", path);
LOG->Warn("Failed to load replay data at %s", path.c_str());
return false;
}

Expand Down Expand Up @@ -621,7 +621,7 @@ bool HighScore::LoadReplayData(bool duringload) {
fileStream.close();
SetNoteRowVector(vNoteRowVector);
SetOffsetVector(vOffsetVector);
LOG->Trace("Loaded replay data at %s", path);
LOG->Trace("Loaded replay data at %s", path.c_str());
return true;
}

Expand Down

0 comments on commit 80a91dc

Please sign in to comment.