aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/protobuf/patches/add-namespace-nprotobuf.patch
blob: eb2dbea1a04e8c82797e66cb07daa6e199779df2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/src/google/protobuf/stubs/common.h	(index)
+++ b/src/google/protobuf/stubs/common.h	(working tree)
@@ -127,6 +127,11 @@ void StrongReference(const T& var) {
 }  // namespace protobuf
 }  // namespace google
 
+namespace NProtoBuf {
+  using namespace google;
+  using namespace google::protobuf;
+}
+
 #include "google/protobuf/port_undef.inc"
 
 #endif  // GOOGLE_PROTOBUF_COMMON_H__