From 75188c8402554d3fe5b95e822b5fd3cb78b312f0 Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Wed, 9 Dec 2015 12:18:05 +0300 Subject: [PATCH] Pass in-place lambdas. --- coding/multilang_utf8_string.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coding/multilang_utf8_string.hpp b/coding/multilang_utf8_string.hpp index bd23925e74..f78834d8dd 100644 --- a/coding/multilang_utf8_string.hpp +++ b/coding/multilang_utf8_string.hpp @@ -60,7 +60,7 @@ public: } template - void ForEachRef(T & functor) const + void ForEachRef(T && functor) const { size_t i = 0; size_t const sz = m_s.size();