charmxi: generate by reference call properly in other case
authorJonathan Lifflander <avunda@mobile-254-234.near.uiuc.edu>
Wed, 24 Oct 2012 20:57:12 +0000 (15:57 -0500)
committerJonathan Lifflander <avunda@mobile-254-234.near.uiuc.edu>
Wed, 24 Oct 2012 20:57:12 +0000 (15:57 -0500)
src/xlat-i/sdag/CSdagConstruct.C

index 13abe1a071894fa28bdb7c5190826dcec8c84288..2a1843ba587418875036e6858aff669f6a58b12d 100644 (file)
@@ -1424,7 +1424,7 @@ void generateSignature(XStr& decls, XStr& defs,
         //op << "const ";
         if (sv->type != 0) 
           op <<sv->type <<" ";
-        if (sv->byRef != 0)
+        if (sv->declaredRef)
           op <<" &";
         if (sv->arrayLength != NULL) 
           op <<"* ";