Make unique_ref final
This commit is contained in:
parent
a98cf8200e
commit
e8c7efe626
@ -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)) {}
|
||||
|
Loading…
Reference in New Issue
Block a user