aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/fmt.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-12-07 12:58:58 +0100
committerEelco Dolstra <edolstra@gmail.com>2022-12-07 14:06:34 +0100
commit703d863a48f549b2626382eda407ffae779f8725 (patch)
treee38d101d192accd9099a5f0d0aaf8ff14c4ca0f3 /src/libutil/fmt.hh
parentc4a6113800dd3aa4eb95b74853c844331af82f1e (diff)
Trivial changes from the lazy-trees branch
Diffstat (limited to 'src/libutil/fmt.hh')
-rw-r--r--src/libutil/fmt.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/fmt.hh b/src/libutil/fmt.hh
index 7664e5c04..e879fd3b8 100644
--- a/src/libutil/fmt.hh
+++ b/src/libutil/fmt.hh
@@ -148,7 +148,7 @@ inline hintformat hintfmt(const std::string & fs, const Args & ... args)
return f;
}
-inline hintformat hintfmt(std::string plain_string)
+inline hintformat hintfmt(const std::string & plain_string)
{
// we won't be receiving any args in this case, so just print the original string
return hintfmt("%s", normaltxt(plain_string));