Skip to content

Commit

Permalink
Remove C++11
Browse files Browse the repository at this point in the history
Signed-off-by: Louise Poubel <louise@openrobotics.org>
  • Loading branch information
chapulina committed Nov 18, 2020
1 parent b46cd46 commit 350d32a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tiny_obj_loader.h
Original file line number Diff line number Diff line change
Expand Up @@ -1665,7 +1665,8 @@ static void SplitString(const std::string &s, char delim, char escape,
std::string token;

bool escaping = false;
for (char ch : s) {
for (int i = 0; i < s.size(); ++i) {
char ch = s[i];
if (escaping) {
escaping = false;
} else if (ch == escape) {
Expand Down

0 comments on commit 350d32a

Please sign in to comment.