Fix forwarding reference
This commit is contained in:
parent
f06ccc6495
commit
920daaba1f
|
@ -554,7 +554,7 @@ void FListBox::insert (const Container& container, LazyConverter&& converter)
|
||||||
{
|
{
|
||||||
conv_type = ConvertType::Lazy;
|
conv_type = ConvertType::Lazy;
|
||||||
source_container = makeFData(container);
|
source_container = makeFData(container);
|
||||||
lazy_inserter = std::move(converter);
|
lazy_inserter = std::forward<LazyConverter>(converter);
|
||||||
const std::size_t size = container.size();
|
const std::size_t size = container.size();
|
||||||
|
|
||||||
if ( size > 0 )
|
if ( size > 0 )
|
||||||
|
|
Loading…
Reference in New Issue