We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0357ff commit 98421f9Copy full SHA for 98421f9
io/io/test/rfile.cxx
@@ -36,7 +36,7 @@ class FileRaii {
36
if (!fPreserveFile)
37
std::remove(fPath.c_str());
38
}
39
- std::string GetPath() const { return fPath; }
+ const std::string &GetPath() const { return fPath; }
40
41
// Useful if you want to keep a test file after the test has finished running
42
// for debugging purposes. Should only be used locally and never pushed.
0 commit comments