summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmProcess.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2021-01-22 15:37:38 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2021-01-27 13:45:45 (GMT)
commit808b17b1206dd70c7fbd676e8c24181cde537954 (patch)
treee20da218e1f9d702f4ff76fac9595740d375c3ed /Source/CTest/cmProcess.cxx
parent4470eb5179d6ccbe5e31cec758546e820752f2d8 (diff)
downloadCMake-808b17b1206dd70c7fbd676e8c24181cde537954.zip
CMake-808b17b1206dd70c7fbd676e8c24181cde537954.tar.gz
CMake-808b17b1206dd70c7fbd676e8c24181cde537954.tar.bz2
clang-tidy: fix `readability-make-member-function-const` warnings
Diffstat (limited to 'Source/CTest/cmProcess.cxx')
-rw-r--r--Source/CTest/cmProcess.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmProcess.cxx b/Source/CTest/cmProcess.cxx
index c7cbd34..1f220af 100644
--- a/Source/CTest/cmProcess.cxx
+++ b/Source/CTest/cmProcess.cxx
@@ -358,7 +358,7 @@ void cmProcess::ResetStartTime()
this->StartTime = std::chrono::steady_clock::now();
}
-cmProcess::Exception cmProcess::GetExitException()
+cmProcess::Exception cmProcess::GetExitException() const
{
auto exception = Exception::None;
#if defined(_WIN32) && !defined(__CYGWIN__)
@@ -430,7 +430,7 @@ cmProcess::Exception cmProcess::GetExitException()
return exception;
}
-std::string cmProcess::GetExitExceptionString()
+std::string cmProcess::GetExitExceptionString() const
{
std::string exception_str;
#if defined(_WIN32)