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!
|
* Never use the old instance after moving!
|
||||||
*/
|
*/
|
||||||
template<typename T>
|
template<typename T>
|
||||||
class unique_ref {
|
class unique_ref final {
|
||||||
public:
|
public:
|
||||||
|
|
||||||
unique_ref(unique_ref&& from): _target(std::move(from._target)) {}
|
unique_ref(unique_ref&& from): _target(std::move(from._target)) {}
|
||||||
|
Loading…
Reference in New Issue
Block a user