summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/mame.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2016-07-05 11:16:05 +1000
committer Vas Crabb <vas@vastheman.com>2016-07-05 11:16:05 +1000
commit2c9dfd77ba8de267a204849fc258356c9172cdbc (patch)
treecb45bc747ec5c1bbb0db927a3113d336623926ed /src/frontend/mame/mame.cpp
parent09b6b311ff10e0c463420340da82172662c3e988 (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.cpp8
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;
}