mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-28 09:59:20 -05:00
Source: Use cmValue::IsOn and IsOff
Speed up a bit by calling members directly.
This commit is contained in:
@@ -577,7 +577,7 @@ cmValue cmCacheManager::CacheEntry::GetProperty(const std::string& prop) const
|
||||
bool cmCacheManager::CacheEntry::GetPropertyAsBool(
|
||||
const std::string& prop) const
|
||||
{
|
||||
return cmIsOn(this->GetProperty(prop));
|
||||
return this->GetProperty(prop).IsOn();
|
||||
}
|
||||
|
||||
void cmCacheManager::CacheEntry::SetProperty(const std::string& prop,
|
||||
|
||||
Reference in New Issue
Block a user