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/cmMakefile.h | |
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/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 5 |
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; |