diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-01-17 19:28:42 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-01-17 22:20:23 +0100 |
commit | 776eb97a4328ccfacbd4e795b4659b7367838db0 (patch) | |
tree | cb7392197526d041b8da783ea1cb8253168b0c22 /src/libutil/error.hh | |
parent | 008ddef4b08e9bee530a5a4c597c88b344089021 (diff) |
serialise.hh: Use std::string_view
Diffstat (limited to 'src/libutil/error.hh')
-rw-r--r-- | src/libutil/error.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/error.hh b/src/libutil/error.hh index ff58d3e00..6fe5e4857 100644 --- a/src/libutil/error.hh +++ b/src/libutil/error.hh @@ -137,7 +137,7 @@ public: { } template<typename... Args> - BaseError(const std::string & fs, const Args & ... args) + explicit BaseError(const std::string & fs, const Args & ... args) : err { .level = lvlError, .msg = hintfmt(fs, args...) } { } |