fix compiling errors by using GCC/Clang

This commit is contained in:
Jinhao
2015-07-28 01:53:41 +08:00
parent 396163c1b7
commit 894e7e61c8
11 changed files with 44 additions and 44 deletions

View File

@@ -417,7 +417,7 @@ namespace nana{ namespace paint
#elif defined(NANA_X11)
try
{
storage_ = std::make_shared<pixel_buffer_storage>(drawable, sz);
storage_ = std::make_shared<pixel_buffer_storage>(drawable, nana::rectangle{sz});
storage_->detach();
return true;
}