Charmxi: Fix reversed arugments passed to generateSignature.
authorJonathan Lifflander <jliffl2@illinois.edu>
Mon, 26 Mar 2012 22:41:18 +0000 (17:41 -0500)
committerJonathan Lifflander <jliffl2@illinois.edu>
Mon, 26 Mar 2012 22:41:18 +0000 (17:41 -0500)
Fortunately, this was causing a warning on GNU compilers on Cray.

src/xlat-i/sdag/CSdagConstruct.C

index f4bad6e6755356932494acc17b43b485d97eaae1..237a2612854743ab5660acfae84e63540847c54d 100644 (file)
@@ -524,7 +524,7 @@ void SdagConstruct::generateConnect(XStr& op) {
 
 void SdagConstruct::generateForward(XStr& op) {
   SdagConstruct *cn;
 
 void SdagConstruct::generateForward(XStr& op) {
   SdagConstruct *cn;
-  generateSignature(op, "void", false, label, stateVars);
+  generateSignature(op, "void", label, false, stateVars);
   for (cn=constructs->begin(); !constructs->end(); cn=constructs->next()) {
     op << "    { ";
     generateCall(op, *stateVarsChildren, cn->text->charstar());
   for (cn=constructs->begin(); !constructs->end(); cn=constructs->next()) {
     op << "    { ";
     generateCall(op, *stateVarsChildren, cn->text->charstar());