diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-26 13:36:49 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-04-29 20:51:28 (GMT) |
commit | 012a75a00f060d6ca36cc9ffb97439a7ad526395 (patch) | |
tree | 38f915c86709817fb4001b46778d62c8ec2181b7 /Source/cmDefinitions.h | |
parent | ca9fa77d5d34a993073cd5256d65f88cd2e1a28f (diff) | |
download | CMake-012a75a00f060d6ca36cc9ffb97439a7ad526395.zip CMake-012a75a00f060d6ca36cc9ffb97439a7ad526395.tar.gz CMake-012a75a00f060d6ca36cc9ffb97439a7ad526395.tar.bz2 |
cmDefinitions: Make ClosureKeys API vector-based.
Construct the final list directly in a named return value. Use
a single set to track bindings already found.
Co-Author: Brad King <brad.king@kitware.com>
Diffstat (limited to 'Source/cmDefinitions.h')
-rw-r--r-- | Source/cmDefinitions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDefinitions.h b/Source/cmDefinitions.h index 950970b..4664090 100644 --- a/Source/cmDefinitions.h +++ b/Source/cmDefinitions.h @@ -50,7 +50,7 @@ public: cmDefinitions Closure() const; /** Compute the set of all defined keys. */ - std::set<std::string> ClosureKeys() const; + std::vector<std::string> ClosureKeys() const; private: // String with existence boolean. |