fix a syntax error
This commit is contained in:
parent
6a0fd78595
commit
65a66f9888
@ -130,7 +130,7 @@ namespace nana
|
||||
{
|
||||
//It is only when the screen is a moved-from object that impl_ is empty
|
||||
if (!impl_)
|
||||
impl_.swap(std::make_shared<implement>());
|
||||
std::make_shared<implement>().swap(impl_);
|
||||
|
||||
impl_->load_monitors();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user