diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-02-21 10:25:47 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-02-21 10:25:47 (GMT) |
commit | c021f59c1f2f3d892b621a9ba163b069f2a2f0a9 (patch) | |
tree | aa49a9598baf779c7e5d8cb9dbc0f070e44ca0f8 /Source/cmMacroCommand.cxx | |
parent | 2d130896a05ef14f2ef53ed472c6926a85cc5399 (diff) | |
download | CMake-c021f59c1f2f3d892b621a9ba163b069f2a2f0a9.zip CMake-c021f59c1f2f3d892b621a9ba163b069f2a2f0a9.tar.gz CMake-c021f59c1f2f3d892b621a9ba163b069f2a2f0a9.tar.bz2 |
cmMakefile: Store macro list in a vector not in a map.
The signature was computed (incorrectly) and stored as the map
value, but never used. Remove it now.
Diffstat (limited to 'Source/cmMacroCommand.cxx')
-rw-r--r-- | Source/cmMacroCommand.cxx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/Source/cmMacroCommand.cxx b/Source/cmMacroCommand.cxx index 29e8cb1..12c8576 100644 --- a/Source/cmMacroCommand.cxx +++ b/Source/cmMacroCommand.cxx @@ -224,15 +224,7 @@ IsFunctionBlocked(const cmListFileFunction& lff, cmMakefile &mf, // if this is the endmacro for this macro then execute if (!this->Depth) { - std::string name = this->Args[0]; - name += "("; - if (!this->Args.empty()) - { - name += " "; - name += cmJoin(this->Args, " "); - } - name += " )"; - mf.AddMacro(this->Args[0].c_str(), name.c_str()); + mf.AddMacro(this->Args[0].c_str()); // create a new command and add it to cmake cmMacroHelperCommand *f = new cmMacroHelperCommand(); f->Args = this->Args; |