summaryrefslogtreecommitdiffstats
path: root/Source/cmListFileCache.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-07-09 20:26:51 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-07-18 09:10:15 (GMT)
commit52f22616852e6a6e8f642f84fa821e0c8678a679 (patch)
tree24caaf80c1c9d6f45ab53a89fc8173be8f390661 /Source/cmListFileCache.cxx
parentfc1c7cf85d045323a38c1de7ada213ecfee542a9 (diff)
downloadCMake-52f22616852e6a6e8f642f84fa821e0c8678a679.zip
CMake-52f22616852e6a6e8f642f84fa821e0c8678a679.tar.gz
CMake-52f22616852e6a6e8f642f84fa821e0c8678a679.tar.bz2
cmListFileBacktrace: Constify API.
Diffstat (limited to 'Source/cmListFileCache.cxx')
-rw-r--r--Source/cmListFileCache.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmListFileCache.cxx b/Source/cmListFileCache.cxx
index 1097dc2..bff2986 100644
--- a/Source/cmListFileCache.cxx
+++ b/Source/cmListFileCache.cxx
@@ -398,7 +398,7 @@ bool cmListFileParser::AddArgument(cmListFileLexer_Token* token,
}
}
-void cmListFileBacktrace::PrintTitle(std::ostream& out)
+void cmListFileBacktrace::PrintTitle(std::ostream& out) const
{
if (!this->Snapshot.IsValid())
{
@@ -412,7 +412,7 @@ void cmListFileBacktrace::PrintTitle(std::ostream& out)
out << (lfc.Line ? " at " : " in ") << lfc;
}
-void cmListFileBacktrace::PrintCallStack(std::ostream& out)
+void cmListFileBacktrace::PrintCallStack(std::ostream& out) const
{
if (!this->Snapshot.IsValid())
{