diff options
Diffstat (limited to 'src/google')
-rw-r--r-- | src/google/protobuf/stubs/common.cc | 2 | ||||
-rw-r--r-- | src/google/protobuf/stubs/common.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/google/protobuf/stubs/common.cc b/src/google/protobuf/stubs/common.cc index da73c566..302be7ae 100644 --- a/src/google/protobuf/stubs/common.cc +++ b/src/google/protobuf/stubs/common.cc @@ -145,6 +145,8 @@ DECLARE_STREAM_OPERATOR(const char* , ) DECLARE_STREAM_OPERATOR(char , SimpleCtoa) DECLARE_STREAM_OPERATOR(int , SimpleItoa) DECLARE_STREAM_OPERATOR(uint , SimpleItoa) +DECLARE_STREAM_OPERATOR(long , SimpleItoa) +DECLARE_STREAM_OPERATOR(unsigned long, SimpleItoa) DECLARE_STREAM_OPERATOR(double , SimpleDtoa) #undef DECLARE_STREAM_OPERATOR diff --git a/src/google/protobuf/stubs/common.h b/src/google/protobuf/stubs/common.h index 3367d4ce..96be91b7 100644 --- a/src/google/protobuf/stubs/common.h +++ b/src/google/protobuf/stubs/common.h @@ -586,6 +586,8 @@ class LIBPROTOBUF_EXPORT LogMessage { LogMessage& operator<<(char value); LogMessage& operator<<(int value); LogMessage& operator<<(uint value); + LogMessage& operator<<(long value); + LogMessage& operator<<(unsigned long value); LogMessage& operator<<(double value); private: |