]> git.mxchange.org Git - simgear.git/blobdiff - simgear/timing/timestamp.hxx
Don't waste space with too huge stl containers.
[simgear.git] / simgear / timing / timestamp.hxx
index 2f95ad07761a65259dac46407fd42045f4ca0540..c14ab6f9f11ed7c6b07965180ee26d81c27b8231 100644 (file)
@@ -5,7 +5,7 @@
 
 // Written by Curtis Olson, started December 1998.
 //
-// Copyright (C) 1998  Curtis L. Olson  - curt@flightgear.org
+// Copyright (C) 1998  Curtis L. Olson  - http://www.flightgear.org/~curt
 //
 // This program is free software; you can redistribute it and/or
 // modify it under the terms of the GNU General Public License as
@@ -19,7 +19,7 @@
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 //
 // $Id$
 
@@ -28,9 +28,9 @@
 #define _TIMESTAMP_HXX
 
 
-#ifndef __cplusplus                                                          
+#ifndef __cplusplus
 # error This library requires C++
-#endif                                   
+#endif
 
 
 #include <simgear/compiler.h>
@@ -71,14 +71,10 @@ public:
      * @param m initial microseconds value
      */
     SGTimeStamp( const long s, const long m );
-    ~SGTimeStamp();
 
     /** Update stored time to current time (seconds and microseconds) */
     void stamp();
 
-    /** Compare two time stamps for equality */
-    SGTimeStamp& operator = ( const SGTimeStamp& t );
-
     /**
      * Increment the saved time by the specified number of microseconds
      * @param t time stamp
@@ -113,17 +109,6 @@ inline SGTimeStamp::SGTimeStamp( const long s, const long u ) {
     usec = u;
 }
 
-inline SGTimeStamp::~SGTimeStamp() {
-}
-
-inline SGTimeStamp& SGTimeStamp::operator = (const SGTimeStamp& t)
-{
-    seconds = t.seconds;
-    usec = t.usec;
-    return *this;
-}
-
-
 #endif // _TIMESTAMP_HXX