aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/util/time_util.h
diff options
context:
space:
mode:
authorJisi Liu <jisi.liu@gmail.com>2015-10-05 11:59:43 -0700
committerJisi Liu <jisi.liu@gmail.com>2015-10-05 11:59:43 -0700
commit46e8ff63cb67a6520711da5317aaaef04d0414d0 (patch)
tree64370726fe469f8dfca7b14f8b8cb80b6cc856f6 /src/google/protobuf/util/time_util.h
parent0087da9d4775f79c67362cc89c653f3a33a9bae2 (diff)
downloadprotobuf-46e8ff63cb67a6520711da5317aaaef04d0414d0.tar.gz
protobuf-46e8ff63cb67a6520711da5317aaaef04d0414d0.tar.bz2
protobuf-46e8ff63cb67a6520711da5317aaaef04d0414d0.zip
Down-integrate from google internal.
Diffstat (limited to 'src/google/protobuf/util/time_util.h')
-rw-r--r--src/google/protobuf/util/time_util.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/google/protobuf/util/time_util.h b/src/google/protobuf/util/time_util.h
index 58dbf8e6..1bac0897 100644
--- a/src/google/protobuf/util/time_util.h
+++ b/src/google/protobuf/util/time_util.h
@@ -41,7 +41,6 @@
#endif
#include <google/protobuf/duration.pb.h>
-#include <google/protobuf/stubs/port.h>
#include <google/protobuf/timestamp.pb.h>
namespace google {
@@ -243,10 +242,8 @@ inline ostream& operator<<(ostream& out, const Duration& d) {
// Overloaded operators for Timestamp
//
// Assignement operators.
-LIBPROTOBUF_EXPORT
-Timestamp& operator+=(Timestamp& t, const Duration& d); // NOLINT
-LIBPROTOBUF_EXPORT
-Timestamp& operator-=(Timestamp& t, const Duration& d); // NOLINT
+LIBPROTOBUF_EXPORT Timestamp& operator+=(Timestamp& t, const Duration& d); // NOLINT
+LIBPROTOBUF_EXPORT Timestamp& operator-=(Timestamp& t, const Duration& d); // NOLINT
// Relational operators.
inline bool operator<(const Timestamp& t1, const Timestamp& t2) {
if (t1.seconds() == t2.seconds()) {