summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
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/cmMakefile.h
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/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 895a2fc..e98f1d9 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -841,7 +841,7 @@ public:
* Add a macro to the list of macros. The arguments should be name of the
* macro and a documentation signature of it
*/
- void AddMacro(const char* name, const char* signature);
+ void AddMacro(const char* name);
///! Add a new cmTest to the list of tests for this makefile.
cmTest* CreateTest(const std::string& testName);
@@ -1065,8 +1065,7 @@ private:
std::stack<int> LoopBlockCounter;
- typedef std::map<std::string, std::string> StringStringMap;
- StringStringMap MacrosMap;
+ std::vector<std::string> MacrosList;
std::map<std::string, bool> SubDirectoryOrder;