From 39e956b9b1224c86b0b5d24355172596d367e2ab Mon Sep 17 00:00:00 2001 From: Herb Sutter Date: Wed, 24 Feb 2021 16:08:02 -0800 Subject: [PATCH] Restored copyability to final_action --- include/gsl/util | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/gsl/util b/include/gsl/util index 9419e97..3e6466c 100644 --- a/include/gsl/util +++ b/include/gsl/util @@ -54,10 +54,6 @@ class final_action public: explicit final_action(F f) : f_(std::move(f)) { } ~final_action() noexcept { f_(); } - - final_action(const final_action&) = delete; - final_action& operator=(const final_action&) = delete; - private: F f_; };