diff options
author | louiz’ <louiz@louiz.org> | 2018-08-21 19:54:47 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2018-08-23 18:54:16 +0200 |
commit | d7bc737751aae7bdc77c68e4d2953aa0d6670724 (patch) | |
tree | bee0bdc8a7ea80762558ee6865fe14fc277faa06 /src/utils | |
parent | f55b1108cdab5643d2668b3a2b08803889e43e9b (diff) | |
download | biboumi-d7bc737751aae7bdc77c68e4d2953aa0d6670724.tar.gz biboumi-d7bc737751aae7bdc77c68e4d2953aa0d6670724.tar.bz2 biboumi-d7bc737751aae7bdc77c68e4d2953aa0d6670724.tar.xz biboumi-d7bc737751aae7bdc77c68e4d2953aa0d6670724.zip |
Add two missing ref
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/dirname.cpp | 2 | ||||
-rw-r--r-- | src/utils/dirname.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/dirname.cpp b/src/utils/dirname.cpp index 71c9c38..a304117 100644 --- a/src/utils/dirname.cpp +++ b/src/utils/dirname.cpp @@ -2,7 +2,7 @@ namespace utils { - std::string dirname(const std::string filename) + std::string dirname(const std::string& filename) { if (filename.empty()) return "./"; diff --git a/src/utils/dirname.hpp b/src/utils/dirname.hpp index c1df81b..73e1b57 100644 --- a/src/utils/dirname.hpp +++ b/src/utils/dirname.hpp @@ -2,5 +2,5 @@ namespace utils { -std::string dirname(const std::string filename); +std::string dirname(const std::string& filename); } |