From 5f6a013a87a2f6c81c2f7a537fb8bc95b552df29 Mon Sep 17 00:00:00 2001 From: David Bailes Date: Wed, 22 Mar 2017 11:33:10 +0000 Subject: [PATCH] Fix windows build Paul should check this fix. --- src/AudacityException.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AudacityException.h b/src/AudacityException.h index 3c8ae685a..a0960fbdc 100644 --- a/src/AudacityException.h +++ b/src/AudacityException.h @@ -39,7 +39,7 @@ protected: // Make this protected to prevent slicing copies AudacityException( AudacityException&& ) {} AudacityException( const AudacityException& ) = default; - AudacityException &operator = (AudacityException &&) {} + AudacityException &operator = (AudacityException &&) { return *this;} AudacityException &operator = ( const AudacityException & ) PROHIBITED; };