aboutsummaryrefslogtreecommitdiff
path: root/lib/System/Unix
diff options
context:
space:
mode:
Diffstat (limited to 'lib/System/Unix')
-rw-r--r--lib/System/Unix/TimeValue.cpp2
-rw-r--r--lib/System/Unix/TimeValue.inc2
2 files changed, 2 insertions, 2 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());
diff --git a/lib/System/Unix/TimeValue.inc b/lib/System/Unix/TimeValue.inc
index d140af9add..0642aa58c3 100644
--- a/lib/System/Unix/TimeValue.inc
+++ b/lib/System/Unix/TimeValue.inc
@@ -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());