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
diff --git a/llvm/lib/System/Unix/TimeValue.cpp b/llvm/lib/System/Unix/TimeValue.cpp
index d140af9..0642aa5 100644
--- a/llvm/lib/System/Unix/TimeValue.cpp
+++ b/llvm/lib/System/Unix/TimeValue.cpp
@@ -25,7 +25,7 @@
using namespace sys;
-std::string TimeValue::toString() {
+std::string TimeValue::toString() const {
char buffer[32];
time_t ourTime = time_t(this->toEpochTime());