Updated for c++98 compatibility

This commit is contained in:
Manjunath Kudlur 2015-12-07 14:15:29 -08:00
parent 3ff1dca0bd
commit 3f9b4f2944
6 changed files with 12 additions and 5 deletions

View File

@ -47,8 +47,9 @@ namespace protobuf {
class Message;
class FieldDescriptor;
#ifdef _SHARED_PTR_H
using std::shared_ptr;
using std::string;
#endif
namespace python {

View File

@ -52,8 +52,10 @@ class Descriptor;
class DescriptorPool;
class MessageFactory;
#ifdef _SHARED_PTR_H
using std::shared_ptr;
using std::string;
#endif
namespace python {

View File

@ -45,8 +45,9 @@ namespace protobuf {
class Message;
#ifdef _SHARED_PTR_H
using std::shared_ptr;
using std::string;
#endif
namespace python {

View File

@ -49,8 +49,9 @@ namespace protobuf {
class FieldDescriptor;
class Message;
#ifdef _SHARED_PTR_H
using std::shared_ptr;
using std::string;
#endif
namespace python {

View File

@ -48,8 +48,9 @@ namespace protobuf {
class Message;
#ifdef _SHARED_PTR_H
using std::shared_ptr;
using std::string;
#endif
namespace python {

View File

@ -45,8 +45,9 @@ namespace protobuf {
class Message;
#ifdef _SHARED_PTR_H
using std::shared_ptr;
using std::string;
#endif
namespace python {