From b676ecac655f95ccf081dddae9b8b3a003860655 Mon Sep 17 00:00:00 2001 From: Scott Fennell Date: Tue, 18 Jun 2019 11:00:09 -0500 Subject: [PATCH] SWIG 2.0 compatability --- include/trick/Executive.hh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/trick/Executive.hh b/include/trick/Executive.hh index 50bfae9d..f1a1fe5a 100644 --- a/include/trick/Executive.hh +++ b/include/trick/Executive.hh @@ -1270,9 +1270,10 @@ namespace Trick { virtual int exec_terminate(const char *file_name, const char *error); /* deleted functions */ - + private: /* SWIG doesn't like the Executive assignment operator because of ofstream init_log_stream */ - Executive& operator=(const Executive&) = delete; + Executive& operator=(const Executive&); /* = delete; '= delete' is not compatible with SWIG 2.0. + stick to 'private' for now */ } ;