Skip to content

Commit

Permalink
Small refactor of ctor
Browse files Browse the repository at this point in the history
  • Loading branch information
qubka committed May 19, 2024
1 parent b0830df commit 7623533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/plug/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
std::vector<std::string> Split(const std::string& str, char sep) {
std::vector<std::string> tokens;
std::string token;
std::istringstream is{str};
std::istringstream is(str);

while (std::getline(is, token, sep))
tokens.emplace_back(token);
Expand Down

0 comments on commit 7623533

Please sign in to comment.