diff options
Diffstat (limited to 'src/mongo/util/paths.h')
-rw-r--r-- | src/mongo/util/paths.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/paths.h b/src/mongo/util/paths.h index 5ba3c64d8ae..e7ca6d5d17c 100644 --- a/src/mongo/util/paths.h +++ b/src/mongo/util/paths.h @@ -39,7 +39,7 @@ namespace mongo { bool empty() const { return _p.empty(); } - static RelativePath fromRelativePath(string f) { + static RelativePath fromRelativePath(const std::string& f) { RelativePath rp; rp._p = f; return rp; |