aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/protobuf/patches/add-string-using.patch
blob: b56b8c88af467459bf80b9c5280866be3f87f700 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- contrib/libs/protobuf/src/google/protobuf/stubs/common.h    (index)
+++ contrib/libs/protobuf/src/google/protobuf/stubs/common.h    (working tree)
@@ -124,6 +124,11 @@ void StrongReference(const T& var) {
 }
 
 }  // namespace internal
+
+// This is at the end of the file instead of the beginning to work around a bug
+// in some versions of MSVC.
+using string = TProtoStringType;
+
 }  // namespace protobuf
 }  // namespace google