diff options
Diffstat (limited to 'zenstore/basicfile.cpp')
| -rw-r--r-- | zenstore/basicfile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zenstore/basicfile.cpp b/zenstore/basicfile.cpp index 7d5b659c9..fd0c8a8f6 100644 --- a/zenstore/basicfile.cpp +++ b/zenstore/basicfile.cpp @@ -29,7 +29,7 @@ BasicFile::~BasicFile() } void -BasicFile::Open(std::filesystem::path FileName, bool IsCreate) +BasicFile::Open(const std::filesystem::path& FileName, bool IsCreate) { std::error_code Ec; Open(FileName, IsCreate, Ec); @@ -41,7 +41,7 @@ BasicFile::Open(std::filesystem::path FileName, bool IsCreate) } void -BasicFile::Open(std::filesystem::path FileName, bool IsCreate, std::error_code& Ec) +BasicFile::Open(const std::filesystem::path& FileName, bool IsCreate, std::error_code& Ec) { Ec.clear(); |