Commit 10d46e7f by Jason Newton

explicitly delete copy-ctor and assignment operator

parent 47646980
...@@ -235,6 +235,9 @@ struct buffer_info { ...@@ -235,6 +235,9 @@ struct buffer_info {
} }
} }
buffer_info(const buffer_info &) = delete;
buffer_info& operator=(const buffer_info &) = delete;
buffer_info(buffer_info &&other){ buffer_info(buffer_info &&other){
(*this) = std::move(other); (*this) = std::move(other);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment