diff options
Diffstat (limited to 'cpp/include/IceUtil/Time.h')
-rw-r--r-- | cpp/include/IceUtil/Time.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/cpp/include/IceUtil/Time.h b/cpp/include/IceUtil/Time.h index cf00d838908..cd58ecd4ae0 100644 --- a/cpp/include/IceUtil/Time.h +++ b/cpp/include/IceUtil/Time.h @@ -8,8 +8,8 @@ // // ********************************************************************** -#ifndef ICEUTIL_TIME_H -#define ICEUTIL_TIME_H +#ifndef ICE_UTIL_TIME_H +#define ICE_UTIL_TIME_H #include <IceUtil/Config.h> @@ -21,6 +21,10 @@ class ICE_UTIL_API Time public: Time(); + + // No copy constructor and assignment operator necessary. The + // automatically generated copy constructor and assignment + // operator do the right thing. static Time now(); static Time seconds(long); @@ -31,8 +35,6 @@ public: static Time microSeconds(long long); #endif - Time operator=(const Time&); - Time operator-() const; Time operator-(const Time&) const; Time operator+(const Time&) const; |