Skip to content

Commit 011e1b3

Browse files
committed
Slight typo
1 parent f28d2ee commit 011e1b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tiny_obj_loader.cc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ static inline std::string parseString(const char*& token)
7777
std::string s;
7878
token += strspn(token, " \t");
7979
int e = strcspn(token, " \t\r");
80-
s = std::string(&token, &token[e]);
80+
s = std::string(token, &token[e]);
8181
token += e;
8282
return s;
8383
}

0 commit comments

Comments
 (0)