Merge branch 'hotfix-1.5.6' of https://github.com/5cript/nana into 5cript-hotfix-1.5.6

This commit is contained in:
Jinhao
2018-01-22 06:13:23 +08:00

View File

@@ -292,7 +292,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);
} }