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 | 09e9f2a37b6e65a3c7a62a3b39b69095b5d644e3 (patch) | |
tree | 80460070e13d74cfcc6def396184a860bcba699e /llvm/lib/System/Unix | |
parent | 91f505eae923bdba9cdf6961b0f25e6d79a4d957 (diff) | |
download | bcm5719-llvm-09e9f2a37b6e65a3c7a62a3b39b69095b5d644e3.tar.gz bcm5719-llvm-09e9f2a37b6e65a3c7a62a3b39b69095b5d644e3.zip |
Per code review:
* get rid of (void) construct in function declarations
* make toString a const member
* add a default implementation of toString for Win32
llvm-svn: 17873
Diffstat (limited to 'llvm/lib/System/Unix')
-rw-r--r-- | llvm/lib/System/Unix/TimeValue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/System/Unix/TimeValue.cpp b/llvm/lib/System/Unix/TimeValue.cpp index d140af9add7..0642aa58c3a 100644 --- a/llvm/lib/System/Unix/TimeValue.cpp +++ b/llvm/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()); |