From 4e0b2f1402217bb9ea864833c5bbdaad82450709 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Thu, 3 May 2018 19:19:45 +0100 Subject: [PATCH] Cosmetic syntax tweak using throw in Octave directors --- Lib/octave/director.swg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Lib/octave/director.swg b/Lib/octave/director.swg index 86ac3b004..bf71d18e8 100644 --- a/Lib/octave/director.swg +++ b/Lib/octave/director.swg @@ -51,7 +51,7 @@ namespace Swig { public: static void raise(const char *msg) { // ... todo - throw(DirectorException()); + throw DirectorException(); } static void raise(const octave_value &ov, const char *msg) { @@ -64,7 +64,7 @@ namespace Swig { public: static void raise(const char *msg) { // ... todo - throw(DirectorTypeMismatchException()); + throw DirectorTypeMismatchException(); } static void raise(const octave_value &ov, const char *msg) { @@ -77,7 +77,7 @@ namespace Swig { public: static void raise(const char *msg) { // ... todo - throw(DirectorPureVirtualException()); + throw DirectorPureVirtualException(); } static void raise(const octave_value &ov, const char *msg) {