From e7317b122c709df629d2563b954ad446e6bce21f Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Fri, 22 Sep 2023 12:15:09 -0400 Subject: [PATCH] print: simplify quoted_impl --- include/indentlog/print/quoted.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/indentlog/print/quoted.hpp b/include/indentlog/print/quoted.hpp index 3691d874..8629ac39 100644 --- a/include/indentlog/print/quoted.hpp +++ b/include/indentlog/print/quoted.hpp @@ -30,8 +30,7 @@ namespace xo { template class quoted_impl { public: - quoted_impl(bool unq_flag, T const & x) : unq_flag_{unq_flag}, value_{x} {} - quoted_impl(bool unq_flag, T && x) : unq_flag_{unq_flag}, value_{std::move(x)} {} + quoted_impl(bool unq_flag, T x) : unq_flag_{unq_flag}, value_{std::move(x)} {} bool unq_flag() const { return unq_flag_; } T const & value() const { return value_; }