From 8bf7fba10b60834d6edfa8d4666edd8cb73b043c Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Tue, 16 Nov 2004 06:22:17 +0000 Subject: Per code review: * get rid of (void) construct in function declarations * make toString a const member * add a default implementation of toString for Win32 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17873 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/System/Unix/TimeValue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/System/Unix/TimeValue.cpp') 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()); -- cgit v1.2.3-18-g5258