summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-02-11 16:45:41 (GMT)
committerBrad King <brad.king@kitware.com>2015-02-11 20:05:57 (GMT)
commitf99991db882c2f4cf8246b9c272845faaa5bbce5 (patch)
tree9e3e6a631610793d35ca6bd0605bb0b1f131d79a /Source/cmInstallGenerator.h
parentf00829a9384283ef1cf86b337b41eaed30ca7ded (diff)
downloadCMake-f99991db882c2f4cf8246b9c272845faaa5bbce5.zip
CMake-f99991db882c2f4cf8246b9c272845faaa5bbce5.tar.gz
CMake-f99991db882c2f4cf8246b9c272845faaa5bbce5.tar.bz2
cmInstallGenerator: Move GetDestination to subclasses that need it
The method is used only for EXPORT and TARGET install destinations. While at it, make it return a std::string by reference instead of a "const char*".
Diffstat (limited to 'Source/cmInstallGenerator.h')
-rw-r--r--Source/cmInstallGenerator.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/cmInstallGenerator.h b/Source/cmInstallGenerator.h
index 38aac91..eeeca15 100644
--- a/Source/cmInstallGenerator.h
+++ b/Source/cmInstallGenerator.h
@@ -50,9 +50,6 @@ public:
Indent const& indent = Indent()
);
- const char* GetDestination() const
- { return this->Destination.c_str(); }
-
/** Get the install destination as it should appear in the
installation script. */
std::string GetInstallDestination() const;