[llvm-commits] CVS: llvm/lib/System/Unix/TimeValue.cpp 
    Reid Spencer 
    reid at x10sys.com
       
    Mon Nov 15 22:22:28 PST 2004
    
    
  
Changes in directory llvm/lib/System/Unix:
TimeValue.cpp updated: 1.4 -> 1.5
---
Log message:
Per code review:
* get rid of (void) construct in function declarations
* make toString a const member
* add a default implementation of toString for Win32
---
Diffs of the changes:  (+1 -1)
Index: llvm/lib/System/Unix/TimeValue.cpp
diff -u llvm/lib/System/Unix/TimeValue.cpp:1.4 llvm/lib/System/Unix/TimeValue.cpp:1.5
--- llvm/lib/System/Unix/TimeValue.cpp:1.4	Sun Nov 14 22:42:34 2004
+++ llvm/lib/System/Unix/TimeValue.cpp	Tue Nov 16 00:22:17 2004
@@ -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());
    
    
More information about the llvm-commits
mailing list