Skip to content

Commit

Permalink
Fix gcc compile error for non-const rvalue.
Browse files Browse the repository at this point in the history
  • Loading branch information
xwidghet committed Dec 30, 2016
1 parent 4c1d116 commit ba1e734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NotesLoaderSSC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ void SetChartKey(StepsTagInfo& info) {
info.steps->SetChartKey((*info.params)[1]);
}

void strsplit(vector<float>& o, RString& s, size_t i) {
void strsplit(vector<float>& o, const RString& s, size_t i) {
size_t j = s.find(",", i);
o.push_back(StringToFloat(s.substr(i, j - 1)));
if (j != s.npos)
Expand Down

0 comments on commit ba1e734

Please sign in to comment.