aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/server/common
diff options
context:
space:
mode:
Diffstat (limited to 'server/common')
-rw-r--r--server/common/log.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/common/log.hpp b/server/common/log.hpp
index 0d5bb19..52f96c1 100644
--- a/server/common/log.hpp
+++ b/server/common/log.hpp
@@ -41,12 +41,12 @@ inline void log(const std::string& msg) {
} // namespace details
template <typename... Args>
-inline void log(const std::string_view& fmt, Args&&... args) {
+inline void log(std::string_view fmt, Args&&... args) {
details::log(boost::str((boost::format(fmt.data()) % ... % args)));
}
template <typename... Args>
-inline void error(const std::string_view& fmt, Args&&... args) {
+inline void error(std::string_view fmt, Args&&... args) {
details::log(boost::str((boost::format(fmt.data()) % ... % args)));
}