summaryrefslogtreecommitdiffstats
path: root/Source/cmState.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-14 18:27:37 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-21 18:13:28 (GMT)
commitccf7760f0035e2e0458ba59e29ab302a2d07c388 (patch)
treec70f5585c89564ee01f15023883d34bcb51b73d9 /Source/cmState.cxx
parent155ef535974ab9e78e98da00b63f31bd5c848bd0 (diff)
downloadCMake-ccf7760f0035e2e0458ba59e29ab302a2d07c388.zip
CMake-ccf7760f0035e2e0458ba59e29ab302a2d07c388.tar.gz
CMake-ccf7760f0035e2e0458ba59e29ab302a2d07c388.tar.bz2
cmOutputConverter: Constify API.
Diffstat (limited to 'Source/cmState.cxx')
-rw-r--r--Source/cmState.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmState.cxx b/Source/cmState.cxx
index a13c13f..f0c7e6d 100644
--- a/Source/cmState.cxx
+++ b/Source/cmState.cxx
@@ -741,14 +741,14 @@ void cmState::Snapshot::SetCurrentBinaryDirectory(std::string const& dir)
}
std::vector<std::string> const&
-cmState::Snapshot::GetCurrentSourceDirectoryComponents()
+cmState::Snapshot::GetCurrentSourceDirectoryComponents() const
{
return this->Position->BuildSystemDirectory
->CurrentSourceDirectoryComponents;
}
std::vector<std::string> const&
-cmState::Snapshot::GetCurrentBinaryDirectoryComponents()
+cmState::Snapshot::GetCurrentBinaryDirectoryComponents() const
{
return this->Position->BuildSystemDirectory
->CurrentBinaryDirectoryComponents;