Skip to content

Commit

Permalink
Update io.h
Browse files Browse the repository at this point in the history
  • Loading branch information
aarikpokras authored Dec 14, 2024
1 parent 24e688e commit ba9cb52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/io.cxlbund/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ struct str {

ret[0] = l.c[0].c_str();
ret[1] = r.c[0].c_str();
std::string ret_f = ret[0] + ret[1]; // Take advantage of std::string's concat.
// Take advantage of std::string's concat.
std::string ret_f = ret[0] + ret[1];
return str(ret_f); // This uses the std::string constructor
}
void operator+=(const str& o) {
Expand Down

0 comments on commit ba9cb52

Please sign in to comment.