Browse Source

Merge topic 'fix-style'

3c7c332 Fix brace indentation.
c70b9b5 Fix style.
Brad King 12 years ago
parent
commit
1dbf0aac1b
3 changed files with 4 additions and 4 deletions
  1. 1 1
      Source/cmCacheManager.h
  2. 2 2
      Source/cmLocalGenerator.cxx
  3. 1 1
      Source/cmTarget.cxx

+ 1 - 1
Source/cmCacheManager.h

@@ -82,7 +82,7 @@ public:
         {
         this->Find(key);
         }
-    }
+      }
   private:
     CacheEntry const& GetEntry() const { return this->Position->second; }
     CacheEntry& GetEntry() { return this->Position->second; }

+ 2 - 2
Source/cmLocalGenerator.cxx

@@ -2011,13 +2011,13 @@ void cmLocalGenerator::AddCMP0018Flags(std::string &flags, cmTarget* target,
   else
     {
     if (target->GetType() == cmTarget::OBJECT_LIBRARY)
-    {
+      {
       if (target->GetPropertyAsBool("POSITION_INDEPENDENT_CODE"))
         {
         this->AddPositionIndependentFlags(flags, lang, targetType);
         }
       return;
-    }
+      }
 
     if (target->GetLinkInterfaceDependentBoolProperty(
                                                 "POSITION_INDEPENDENT_CODE",

+ 1 - 1
Source/cmTarget.cxx

@@ -180,7 +180,7 @@ void deleteAndClear(
 //----------------------------------------------------------------------------
 cmTargetInternals::~cmTargetInternals()
 {
-  deleteAndClear(CachedLinkInterfaceIncludeDirectoriesEntries);
+  deleteAndClear(this->CachedLinkInterfaceIncludeDirectoriesEntries);
 }
 
 //----------------------------------------------------------------------------