fixing 2: tabbar append error in gcc linux - travis

see: https://travis-ci.org/cnjinhao/nana/jobs/109245565
This commit is contained in:
qPCR4vir 2016-02-15 14:10:13 +01:00
parent 48db4528d6
commit 87a0fd3a49

View File

@ -263,7 +263,7 @@ namespace nana
tabbar& append(std::string text, window attach_wd, value_type value = {})
{
return this->append( std::wstring((nana::charset(std::move(text), nana::unicode::utf8))), attach_wd, std::move(value));
return this->append( static_cast<std::wstring&&>(nana::charset(std::move(text), nana::unicode::utf8)), attach_wd, std::move(value));
}
tabbar& append(std::wstring text, window attach_wd, value_type value = {})