aboutsummaryrefslogtreecommitdiff
path: root/lib/System/Unix/TimeValue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/System/Unix/TimeValue.cpp')
-rw-r--r--lib/System/Unix/TimeValue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Unix/TimeValue.cpp b/lib/System/Unix/TimeValue.cpp
index d140af9add..0642aa58c3 100644
--- a/lib/System/Unix/TimeValue.cpp
+++ b/lib/System/Unix/TimeValue.cpp
@@ -25,7 +25,7 @@ namespace llvm {
using namespace sys;
-std::string TimeValue::toString() {
+std::string TimeValue::toString() const {
char buffer[32];
time_t ourTime = time_t(this->toEpochTime());