summaryrefslogtreecommitdiffstats
path: root/src/log.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.hpp')
-rw-r--r--src/log.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log.hpp b/src/log.hpp
index 151d799..8f74847 100644
--- a/src/log.hpp
+++ b/src/log.hpp
@@ -29,7 +29,7 @@ using std::string_view;
//! @private
constexpr auto shorten_filename(const string_view &filename)
{
- for (const string_view &dir : {"/src/", "/include/"})
+ for (const string_view dir : {"/src/", "/include/"})
{
const auto pos{filename.rfind(dir)};
if (pos != string_view::npos)