summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-07-10 15:38:38 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-07-10 15:38:38 (GMT)
commit32ad30e883bb8661d3fe5e6f0d969fc821c5f512 (patch)
tree0cad40c56a508980a6976390e984046b68d8298c /Source/cmMakefile.h
parent9f6ebe4eb7d1294569cda4eb88f01ca7ae0e6815 (diff)
downloadCMake-32ad30e883bb8661d3fe5e6f0d969fc821c5f512.zip
CMake-32ad30e883bb8661d3fe5e6f0d969fc821c5f512.tar.gz
CMake-32ad30e883bb8661d3fe5e6f0d969fc821c5f512.tar.bz2
better error handling with if statements
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index c1985f0..915950d 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -79,9 +79,9 @@ public:
* Add a function blocker to this makefile
*/
void AddFunctionBlocker(cmFunctionBlocker *fb)
- { m_FunctionBlockers.insert(fb);}
+ { m_FunctionBlockers.push_back(fb);}
void RemoveFunctionBlocker(cmFunctionBlocker *fb)
- { m_FunctionBlockers.erase(fb);}
+ { m_FunctionBlockers.remove(fb);}
void RemoveFunctionBlocker(const char *name, const std::vector<std::string> &args);
/**
@@ -571,7 +571,7 @@ private:
void PrintStringVector(const char* s, const std::vector<std::string>& v) const;
void AddDefaultCommands();
void AddDefaultDefinitions();
- std::set<cmFunctionBlocker *> m_FunctionBlockers;
+ std::list<cmFunctionBlocker *> m_FunctionBlockers;
typedef std::map<cmStdString, cmData*> DataMap;
DataMap m_DataMap;