fix a syntax error

This commit is contained in:
Jinhao 2015-03-26 23:58:04 +08:00
parent 6a0fd78595
commit 65a66f9888

View File

@ -130,7 +130,7 @@ namespace nana
{ {
//It is only when the screen is a moved-from object that impl_ is empty //It is only when the screen is a moved-from object that impl_ is empty
if (!impl_) if (!impl_)
impl_.swap(std::make_shared<implement>()); std::make_shared<implement>().swap(impl_);
impl_->load_monitors(); impl_->load_monitors();
} }