From e8c7efe626ae8c987bcfbac66d08dd397dcf9d50 Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Fri, 26 Jun 2015 02:08:14 +0200 Subject: [PATCH] Make unique_ref final --- pointer/unique_ref.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {}