diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-07-23 13:53:38 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-07-23 13:53:38 +0100 |
commit | cc88fe9d8b945754c59b9fe4704ad4ec26b15125 (patch) | |
tree | b95166f0931ecc7d492d1d8b6de670ffe9311b26 | |
parent | Fixup from clang-tidy-14 (diff) | |
download | libadhocutil-cc88fe9d8b945754c59b9fe4704ad4ec26b15125.tar.bz2 libadhocutil-cc88fe9d8b945754c59b9fe4704ad4ec26b15125.tar.xz libadhocutil-cc88fe9d8b945754c59b9fe4704ad4ec26b15125.zip |
Fix bracketting to return stream string by move
-rw-r--r-- | libadhocutil/compileTimeFormatter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libadhocutil/compileTimeFormatter.h b/libadhocutil/compileTimeFormatter.h index 2fd1f20..f8e0010 100644 --- a/libadhocutil/compileTimeFormatter.h +++ b/libadhocutil/compileTimeFormatter.h @@ -169,7 +169,7 @@ namespace AdHoc { get(Pn &&... pn) { std::basic_stringstream<char_type> s; - return std::move(write(s, std::forward<Pn>(pn)...).str()); + return std::move(write(s, std::forward<Pn>(pn)...)).str(); } /** * Get a string containing the result of formatting. |