diff options
author | 2016-07-05 11:16:05 +1000 | |
---|---|---|
committer | 2016-07-05 11:16:05 +1000 | |
commit | 2c9dfd77ba8de267a204849fc258356c9172cdbc (patch) | |
tree | cb45bc747ec5c1bbb0db927a3113d336623926ed /src/frontend/mame/mame.cpp | |
parent | 09b6b311ff10e0c463420340da82172662c3e988 (diff) |
Revert "C++ comments for some parts."
This reverts commit 19c4764090d1c5131945d11737de8a3bb421b9aa.
Diffstat (limited to 'src/frontend/mame/mame.cpp')
-rw-r--r-- | src/frontend/mame/mame.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/frontend/mame/mame.cpp b/src/frontend/mame/mame.cpp index cfca1076e9f..000c20033cd 100644 --- a/src/frontend/mame/mame.cpp +++ b/src/frontend/mame/mame.cpp @@ -103,12 +103,12 @@ std::vector<std::string> split(const std::string &text, char sep) std::vector<std::string> tokens; std::size_t start = 0, end = 0; while ((end = text.find(sep, start)) != std::string::npos) { - auto temp = text.substr(start, end - start); - if (!temp.empty()) tokens.push_back(temp); + std::string temp = text.substr(start, end - start); + if (temp != "") tokens.push_back(temp); start = end + 1; } - auto temp = text.substr(start); - if (!temp.empty()) tokens.push_back(temp); + std::string temp = text.substr(start); + if (temp != "") tokens.push_back(temp); return tokens; } |