Update of /cvsroot/boost/boost/boost/date_time
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv15467

Modified Files:
        time_resolution_traits.hpp 
Log Message:
apply changes from adobe to remove else clause which makes some compilers spit 
out a warning.

Index: time_resolution_traits.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/date_time/time_resolution_traits.hpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- time_resolution_traits.hpp  25 Aug 2005 16:27:20 -0000      1.9
+++ time_resolution_traits.hpp  25 May 2007 19:59:41 -0000      1.10
@@ -120,11 +120,10 @@
                    + (fractional_seconds_type(minutes)*60) 
                    + seconds)*res_adjust()) + fs) * -1);
       }
-      else{
-        return (((fractional_seconds_type(hours)*3600) 
-                 + (fractional_seconds_type(minutes)*60) 
-                 + seconds)*res_adjust()) + fs;
-      }
+
+      return (((fractional_seconds_type(hours)*3600) 
+               + (fractional_seconds_type(minutes)*60) 
+               + seconds)*res_adjust()) + fs;
     }
     
   };


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to