Fix forwarding reference

This commit is contained in:
Markus Gans 2021-05-23 00:05:29 +02:00
parent f06ccc6495
commit 920daaba1f
1 changed files with 1 additions and 1 deletions

View File

@ -554,7 +554,7 @@ void FListBox::insert (const Container& container, LazyConverter&& converter)
{
conv_type = ConvertType::Lazy;
source_container = makeFData(container);
lazy_inserter = std::move(converter);
lazy_inserter = std::forward<LazyConverter>(converter);
const std::size_t size = container.size();
if ( size > 0 )