Browse Source

cmMakefile: Inline only use of GetLinkDirectories.

Stephen Kelly 10 years ago
parent
commit
357342602d
2 changed files with 1 additions and 5 deletions
  1. 1 1
      Source/cmMakefile.cxx
  2. 0 4
      Source/cmMakefile.h

+ 1 - 1
Source/cmMakefile.cxx

@@ -4302,7 +4302,7 @@ const char *cmMakefile::GetProperty(const std::string& prop,
     }
   else if (prop == "LINK_DIRECTORIES")
     {
-    output = cmJoin(this->GetLinkDirectories(), ";");
+    output = cmJoin(this->LinkDirectories, ";");
     return output.c_str();
     }
   else if (prop == "INCLUDE_DIRECTORIES")

+ 0 - 4
Source/cmMakefile.h

@@ -233,10 +233,6 @@ public:
    */
   void AddLinkDirectory(const std::string&);
 
-  const std::vector<std::string>& GetLinkDirectories() const
-    {
-      return this->LinkDirectories;
-    }
   void SetLinkDirectories(const std::vector<std::string>& vec)
     {
       this->LinkDirectories = vec;