mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 00:32:35 +01:00
cache: do not cause an implicit copy of std::string elements
This commit is contained in:
parent
c7135bdf9a
commit
840ffb0935
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ cachefile::cache(const char *filename, const char *shortname, int flags_)
|
|||
*p = '\0';
|
||||
|
||||
untabify(untabline, line, sizeof(untabline));
|
||||
contents.push_back(std::string(untabline));
|
||||
contents.push_back(untabline);
|
||||
}
|
||||
|
||||
fclose(in);
|
||||
|
|
Loading…
Reference in a new issue