From adc2666dbb2444194a5df84711207def7eba074c Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Tue, 23 Nov 2021 10:11:16 -0500 Subject: SL-16094: Tweak llstring merge --- indra/llcommon/stringize.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'indra') diff --git a/indra/llcommon/stringize.h b/indra/llcommon/stringize.h index 8501beb16d..12df693910 100644 --- a/indra/llcommon/stringize.h +++ b/indra/llcommon/stringize.h @@ -53,7 +53,7 @@ void stream_to(std::basic_ostream& out) {} template void stream_to(std::basic_ostream& out, T&& item, Items&&... items) { - out << std::move(item); + out << std::forward(item); stream_to(out, std::forward(items)...); } @@ -113,8 +113,8 @@ struct gstringize_impl template auto gstringize(T&& item) { - // use decay so we don't require separate specializations for T, const - // T, T&, const T& ... + // use decay so we don't require separate specializations + // for T, const T, T&, const T& ... return gstringize_impl>()(std::forward(item)); } -- cgit v1.2.3