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