diff --git a/pointer/unique_ref.h b/pointer/unique_ref.h index c6bb7d77..16a622a2 100644 --- a/pointer/unique_ref.h +++ b/pointer/unique_ref.h @@ -24,7 +24,7 @@ namespace cpputils { * Never use the old instance after moving! */ template -class unique_ref { +class unique_ref final { public: unique_ref(unique_ref&& from): _target(std::move(from._target)) {}