summaryrefslogtreecommitdiffstats
path: root/Source/cmMacroCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-02-21 10:25:47 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-02-21 10:25:47 (GMT)
commitc021f59c1f2f3d892b621a9ba163b069f2a2f0a9 (patch)
treeaa49a9598baf779c7e5d8cb9dbc0f070e44ca0f8 /Source/cmMacroCommand.cxx
parent2d130896a05ef14f2ef53ed472c6926a85cc5399 (diff)
downloadCMake-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.cxx10
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;