diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-02-02 21:09:55 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-02-02 21:15:07 (GMT) |
commit | dcd443d4aaf63c40e567a927b5be779f9be4b33e (patch) | |
tree | a2029d72690dfa0b7423b1e2fbb33cd425a33168 /Source/cmTarget.h | |
parent | cd711ed0526de706c17c228e06f5010772cd217c (diff) | |
download | CMake-dcd443d4aaf63c40e567a927b5be779f9be4b33e.zip CMake-dcd443d4aaf63c40e567a927b5be779f9be4b33e.tar.gz CMake-dcd443d4aaf63c40e567a927b5be779f9be4b33e.tar.bz2 |
cmTarget: Clean up the InsertCompileDefinition implementation.
It accepts a before parameter but is never called with before=true.
compile definitions are sorted by std::set, so it wouldn't make sense
to allow user sorting.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index ce0d812..271824b 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -531,8 +531,7 @@ public: bool before = false); void InsertCompileOption(const cmValueWithOrigin &entry, bool before = false); - void InsertCompileDefinition(const cmValueWithOrigin &entry, - bool before = false); + void InsertCompileDefinition(const cmValueWithOrigin &entry); void AppendBuildInterfaceIncludes(); |