diff options
author | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2009-04-27 22:28:10 +0000 |
---|---|---|
committer | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2009-04-27 22:28:10 +0000 |
commit | 50ede8ba177dc6421a413dc73732b523ac24242d (patch) | |
tree | bc611b259770b0723292e3a8eba69fb368f25e52 /src | |
parent | d37d46dfbcedadeb439ad0367f8afcf8867dca43 (diff) | |
download | protobuf-50ede8ba177dc6421a413dc73732b523ac24242d.tar.gz protobuf-50ede8ba177dc6421a413dc73732b523ac24242d.tar.bz2 protobuf-50ede8ba177dc6421a413dc73732b523ac24242d.zip |
Update MSVC project files for rev 120, and add instructions for compiling with zlib.
Diffstat (limited to 'src')
-rw-r--r-- | src/google/protobuf/descriptor_database_unittest.cc | 2 | ||||
-rw-r--r-- | src/google/protobuf/extension_set.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/google/protobuf/descriptor_database_unittest.cc b/src/google/protobuf/descriptor_database_unittest.cc index 64ec551a..33de1348 100644 --- a/src/google/protobuf/descriptor_database_unittest.cc +++ b/src/google/protobuf/descriptor_database_unittest.cc @@ -34,6 +34,8 @@ // // This file makes extensive use of RFC 3092. :) +#include <algorithm> + #include <google/protobuf/descriptor_database.h> #include <google/protobuf/descriptor.h> #include <google/protobuf/descriptor.pb.h> diff --git a/src/google/protobuf/extension_set.h b/src/google/protobuf/extension_set.h index 8e64b9bd..c23dc2b0 100644 --- a/src/google/protobuf/extension_set.h +++ b/src/google/protobuf/extension_set.h @@ -633,7 +633,7 @@ class LIBPROTOBUF_EXPORT ExtensionIdentifier { private: const int number_; - const typename TypeTraits::ConstType default_value_; + typename TypeTraits::ConstType default_value_; }; // ------------------------------------------------------------------- |