diff options
author | Brad King <brad.king@kitware.com> | 2015-07-22 17:45:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-07-27 13:45:35 (GMT) |
commit | fd1944580266c3c84234b28e2102fc787ed5c00d (patch) | |
tree | 0b7e6f7f86140e49fd422c676d2f0f48e6bc7551 /Source/cmDependsFortran.h | |
parent | 295480b923338de82bdaa965aed9960d582a1750 (diff) | |
download | CMake-fd1944580266c3c84234b28e2102fc787ed5c00d.zip CMake-fd1944580266c3c84234b28e2102fc787ed5c00d.tar.gz CMake-fd1944580266c3c84234b28e2102fc787ed5c00d.tar.bz2 |
cmDependsFortran: Simplify storage of preprocessor definitions
Collect the original preprocessor definitions in a std::set<> so that
it can be copied directly by cmFortranParser's constructor instead of
making a copy on the stack.
Diffstat (limited to 'Source/cmDependsFortran.h')
-rw-r--r-- | Source/cmDependsFortran.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDependsFortran.h b/Source/cmDependsFortran.h index db2df19..d6ec7d7 100644 --- a/Source/cmDependsFortran.h +++ b/Source/cmDependsFortran.h @@ -73,7 +73,7 @@ protected: // The source file from which to start scanning. std::string SourceFile; - std::vector<std::string> PPDefinitions; + std::set<std::string> PPDefinitions; // Internal implementation details. cmDependsFortranInternals* Internal; |