Forráskód Böngészése

Fix using std::shared_ptr

Jisi Liu 9 éve
szülő
commit
f8a5c5f746

+ 1 - 1
python/google/protobuf/pyext/extension_dict.h

@@ -48,7 +48,7 @@ class Message;
 class FieldDescriptor;
 
 #ifdef _SHARED_PTR_H
-using shared_ptr;
+using std::shared_ptr;
 #else
 using internal::shared_ptr;
 #endif

+ 1 - 1
python/google/protobuf/pyext/map_container.h

@@ -47,7 +47,7 @@ namespace protobuf {
 class Message;
 
 #ifdef _SHARED_PTR_H
-using shared_ptr;
+using std::shared_ptr;
 #else
 using internal::shared_ptr;
 #endif

+ 1 - 1
python/google/protobuf/pyext/message.h

@@ -53,7 +53,7 @@ class DescriptorPool;
 class MessageFactory;
 
 #ifdef _SHARED_PTR_H
-using shared_ptr;
+using std::shared_ptr;
 using ::std::string;
 #else
 using internal::shared_ptr;

+ 1 - 1
python/google/protobuf/pyext/repeated_composite_container.h

@@ -50,7 +50,7 @@ class FieldDescriptor;
 class Message;
 
 #ifdef _SHARED_PTR_H
-using shared_ptr;
+using std::shared_ptr;
 #else
 using internal::shared_ptr;
 #endif

+ 1 - 1
python/google/protobuf/pyext/repeated_scalar_container.h

@@ -49,7 +49,7 @@ namespace protobuf {
 class Message;
 
 #ifdef _SHARED_PTR_H
-using shared_ptr;
+using std::shared_ptr;
 #else
 using internal::shared_ptr;
 #endif