diff options
author | Ruslan Baratov <ruslan_baratov@yahoo.com> | 2017-03-28 06:06:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-03-30 14:16:30 (GMT) |
commit | a75757004bda0ff32a152a0d9d6379c02b1338ce (patch) | |
tree | cde26bb7f143fbd3358c7b7421070fbc0f7744e3 /Source/cmGeneratorTarget.h | |
parent | e05835c35b5d31f31e1a55baf415c075b24a27ad (diff) | |
download | CMake-a75757004bda0ff32a152a0d9d6379c02b1338ce.zip CMake-a75757004bda0ff32a152a0d9d6379c02b1338ce.tar.gz CMake-a75757004bda0ff32a152a0d9d6379c02b1338ce.tar.bz2 |
Refactoring: s,GetFeatureAsBool,IsIPOEnabled,
Method 'GetFeatureAsBool' is used only with 'INTERPROCEDURAL_OPTIMIZATION'
feature. Substituting 'GetFeatureAsBool' with 'IsIPOEnabled'.
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r-- | Source/cmGeneratorTarget.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h index 68d6ef8..0ec7389 100644 --- a/Source/cmGeneratorTarget.h +++ b/Source/cmGeneratorTarget.h @@ -112,8 +112,8 @@ public: const char* GetFeature(const std::string& feature, const std::string& config) const; - bool GetFeatureAsBool(const std::string& feature, - const std::string& config) const; + + bool IsIPOEnabled(const std::string& config) const; bool IsLinkInterfaceDependentBoolProperty(const std::string& p, const std::string& config) const; |