From 65a66f98884691f35865b3f0da39cf991563c861 Mon Sep 17 00:00:00 2001 From: Jinhao Date: Thu, 26 Mar 2015 23:58:04 +0800 Subject: [PATCH] fix a syntax error --- source/gui/screen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/gui/screen.cpp b/source/gui/screen.cpp index b16eb9d8..a5de12a8 100644 --- a/source/gui/screen.cpp +++ b/source/gui/screen.cpp @@ -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()); + std::make_shared().swap(impl_); impl_->load_monitors(); }