From 38622b3a7d726f269f19a48ea36d69a4da62c6be Mon Sep 17 00:00:00 2001 From: Keith Ballard Date: Tue, 26 Apr 2022 17:16:10 -0500 Subject: [PATCH] Fixed a small typo in fortran.cxx where a variable collides with with keyword for MSVC. --- Source/Modules/fortran.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Modules/fortran.cxx b/Source/Modules/fortran.cxx index 6308a8706e2..c858fd3fa5c 100644 --- a/Source/Modules/fortran.cxx +++ b/Source/Modules/fortran.cxx @@ -3562,9 +3562,9 @@ int FORTRAN::classDirectorMethod(Node *n, Node *classn, String *super) { // Create local variables that become arguments to fortran { - String *cdecl = SwigType_lstr(ctype, imarg); - Wrapper_add_localv(cppfunc, imarg, cdecl, NULL); - Delete(cdecl); + String *cdecl2 = SwigType_lstr(ctype, imarg); + Wrapper_add_localv(cppfunc, imarg, cdecl2, NULL); + Delete(cdecl2); } // Add C++ -> C conversion typemaps for input args