Added missing std::move, withing tabbar insert overload for std::string.
This commit is contained in:
parent
08077a9845
commit
710880372b
@ -293,7 +293,7 @@ namespace nana
|
|||||||
if (pos > length())
|
if (pos > length())
|
||||||
throw std::out_of_range("tabbar::insert invalid position");
|
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);
|
API::update_window(*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user