aboutsummaryrefslogtreecommitdiff
path: root/python/google/protobuf/pyext/repeated_scalar_container.h
diff options
context:
space:
mode:
Diffstat (limited to 'python/google/protobuf/pyext/repeated_scalar_container.h')
-rw-r--r--python/google/protobuf/pyext/repeated_scalar_container.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/google/protobuf/pyext/repeated_scalar_container.h b/python/google/protobuf/pyext/repeated_scalar_container.h
index a13cf9b2..bd73017d 100644
--- a/python/google/protobuf/pyext/repeated_scalar_container.h
+++ b/python/google/protobuf/pyext/repeated_scalar_container.h
@@ -48,8 +48,9 @@ namespace protobuf {
class Message;
+#ifdef _SHARED_PTR_H
using std::shared_ptr;
-using std::string;
+#endif
namespace python {