git-svn-id: https://casparcg.svn.sourceforge.net/svnroot/casparcg/server/branches/2.1.0@2217
362d55ac-95cf-4e76-9f9a-
cbaa9c17b72d
};\r
\r
layer::layer() : impl_(new impl()){}\r
-layer::layer(const layer& other) : impl_(new impl(*other.impl_)){}\r
layer::layer(layer&& other) : impl_(std::move(other.impl_)){}\r
-layer& layer::operator=(layer other)\r
+layer& layer::operator=(layer&& other)\r
{\r
other.swap(*this);\r
return *this;\r
{\r
public:\r
layer(); // nothrow\r
- layer(const layer&);\r
layer(layer&& other); // nothrow\r
- layer& operator=(layer other); // nothrow\r
+ layer& operator=(layer&& other); // nothrow\r
\r
void swap(layer& other); // nothrow \r
\r