diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-11-16 06:22:17 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-11-16 06:22:17 +0000 |
commit | 8bf7fba10b60834d6edfa8d4666edd8cb73b043c (patch) | |
tree | f988794e090a8c4d7d5aa629673069de86b99452 /lib/System/Unix/TimeValue.inc | |
parent | b608a81a18dee7fbae18147f10af3fd1db31a5f4 (diff) |
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
Diffstat (limited to 'lib/System/Unix/TimeValue.inc')
-rw-r--r-- | lib/System/Unix/TimeValue.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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()); |