Skip to content

Commit

Permalink
implicit conversion from string to rstring leaves a copy in mem 4ever
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Nov 11, 2018
1 parent abbacec commit b2989a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/HighScore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -901,8 +901,8 @@ HighScore::LoadReplayDataFull()
bool
HighScore::HasReplayData()
{
string fullpath = FULL_REPLAY_DIR + m_Impl->ScoreKey;
string basicpath = BASIC_REPLAY_DIR + m_Impl->ScoreKey;
RString fullpath = FULL_REPLAY_DIR + m_Impl->ScoreKey;
RString basicpath = BASIC_REPLAY_DIR + m_Impl->ScoreKey;
if (DoesFileExist(fullpath)) // check for full replays first then default to
// basic replays -mina
return true;
Expand Down

0 comments on commit b2989a9

Please sign in to comment.