From 357342602db67e456e9afc9697328d490ab0fc41 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sat, 18 Jul 2015 13:45:43 +0200 Subject: cmMakefile: Inline only use of GetLinkDirectories. --- Source/cmMakefile.cxx | 2 +- Source/cmMakefile.h | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 94c77e1..1dc0bb7 100644 --- a/Source/cmMakefile.cxx +++ b/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") diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 82a2279..154e099 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -233,10 +233,6 @@ public: */ void AddLinkDirectory(const std::string&); - const std::vector& GetLinkDirectories() const - { - return this->LinkDirectories; - } void SetLinkDirectories(const std::vector& vec) { this->LinkDirectories = vec; -- cgit v0.12