diff options
author | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2008-10-03 17:27:48 +0000 |
---|---|---|
committer | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2008-10-03 17:27:48 +0000 |
commit | a41a9dd532c2723c5d7c379a299a7cd403ac8775 (patch) | |
tree | 63aba5e7f3cf5188d1909948fec45faec3c33963 /src | |
parent | c76caaccb8385a4474e674a2aed9be4c3e1be785 (diff) | |
download | protobuf-a41a9dd532c2723c5d7c379a299a7cd403ac8775.tar.gz protobuf-a41a9dd532c2723c5d7c379a299a7cd403ac8775.tar.bz2 protobuf-a41a9dd532c2723c5d7c379a299a7cd403ac8775.zip |
* Fixed template specialization syntax that MSVC 2005 didn't like. Not sure if
it was valid or not.
* Moved UTF-8 coding directive to the right place in reflection_test.py.
Diffstat (limited to 'src')
-rw-r--r-- | src/google/protobuf/descriptor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/descriptor.cc b/src/google/protobuf/descriptor.cc index 3b018517..0f243ce5 100644 --- a/src/google/protobuf/descriptor.cc +++ b/src/google/protobuf/descriptor.cc @@ -2208,7 +2208,7 @@ template<class DescriptorT> void DescriptorBuilder::AllocateOptions( } // We specialize for FileDescriptor. -template<> void DescriptorBuilder::AllocateOptions( +template<> void DescriptorBuilder::AllocateOptions<FileDescriptor>( const FileDescriptor::OptionsType& orig_options, FileDescriptor* descriptor) { // We add the dummy token so that LookupSymbol does the right thing. |