From 697eb5533eb4de807d144460118b454ed30a1fe6 Mon Sep 17 00:00:00 2001 From: beinhaerter <34543625+beinhaerter@users.noreply.github.com> Date: Wed, 25 Apr 2018 03:35:53 +0200 Subject: [PATCH] final_action move assignment operator =delete against C26432 (#660) This suppresses warning C26432 on VS2017. Fixes issue #653. --- include/gsl/gsl_util | 1 + 1 file changed, 1 insertion(+) diff --git a/include/gsl/gsl_util b/include/gsl/gsl_util index 2ca171b..25f8502 100644 --- a/include/gsl/gsl_util +++ b/include/gsl/gsl_util @@ -60,6 +60,7 @@ public: final_action(const final_action&) = delete; final_action& operator=(const final_action&) = delete; + final_action& operator=(final_action&&) = delete; ~final_action() noexcept {