fix warning

master
Daniel Kolesa 2020-09-11 23:40:56 +02:00
parent 89e9b8726f
commit 78ffcafc00
1 changed files with 1 additions and 1 deletions

View File

@ -488,7 +488,7 @@ inline UnaryFunction for_each(InputRange range, UnaryFunction func) {
for (; !range.empty(); range.pop_front()) {
func(range.front());
}
return std::move(func);
return func;
}
/** @brief A pipeable version of ostd::for_each().