explicitly delete copy-ctor and assignment operator

This commit is contained in:
Jason Newton 2016-09-02 18:39:47 -04:00
parent 4764698069
commit 10d46e7f73

View File

@ -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){
(*this) = std::move(other);
}