Skip to content

Commit

Permalink
Fixed a small typo in fortran.cxx where a variable
Browse files Browse the repository at this point in the history
collides with with keyword for MSVC.
  • Loading branch information
KeithBallard committed Apr 26, 2022
1 parent 4891416 commit 38622b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/Modules/fortran.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 38622b3

Please sign in to comment.