Commit f8a5c5f7 authored by Jisi Liu's avatar Jisi Liu

Fix using std::shared_ptr

parent 75e58985
......@@ -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
......
......@@ -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
......
......@@ -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;
......
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment