[cmake-developers] [PATCH 1/2] cmPropertyDefinition::IsChained is const

Yury G. Kudryashov urkud.urkud at gmail.com
Sat Feb 25 03:10:17 EST 2012


From: "Yury G. Kudryashov" <urkud.urkud at gmail.com>

---
 Source/cmPropertyDefinition.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Source/cmPropertyDefinition.h b/Source/cmPropertyDefinition.h
index f68db87..58d1472 100644
--- a/Source/cmPropertyDefinition.h
+++ b/Source/cmPropertyDefinition.h
@@ -31,7 +31,7 @@ public:
   cmPropertyDefinition() { this->Chained = false; };
 
   // is it chained?
-  bool IsChained() {return this->Chained; };
+  bool IsChained() const { return this->Chained; };
 
   // Get the section if any
   const std::string &GetDocumentationSection() const {
-- 
1.7.8




More information about the cmake-developers mailing list