Added missing std::move, withing tabbar insert overload for std::string.

This commit is contained in:
5cript 2018-01-14 07:52:56 +01:00
parent 08077a9845
commit 710880372b

View File

@ -293,7 +293,7 @@ namespace nana
if (pos > length())
throw std::out_of_range("tabbar::insert invalid position");
this->get_drawer_trigger().insert(pos, to_nstring(text), std::move(value));
this->get_drawer_trigger().insert(pos, to_nstring(std::move(text)), std::move(value));
API::update_window(*this);
}