Make unique_ref final

This commit is contained in:
Sebastian Messmer 2015-06-26 02:08:14 +02:00
parent a98cf8200e
commit e8c7efe626

View File

@ -24,7 +24,7 @@ namespace cpputils {
* Never use the old instance after moving!
*/
template<typename T>
class unique_ref {
class unique_ref final {
public:
unique_ref(unique_ref&& from): _target(std::move(from._target)) {}