Browse Source

Ninja: void function can't return a value

Peter Kümmel 13 years ago
parent
commit
d569f3ef15
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Source/cmLocalNinjaGenerator.h

+ 2 - 2
Source/cmLocalNinjaGenerator.h

@@ -83,8 +83,8 @@ public:
 
   void ExpandRuleVariables(std::string& string,
                            const RuleVariables& replaceValues) {
-    return cmLocalGenerator::
-             ExpandRuleVariables(string, replaceValues); }
+    cmLocalGenerator::ExpandRuleVariables(string, replaceValues);
+  }
 
   std::string BuildCommandLine(const std::vector<std::string> &cmdLines);