summaryrefslogtreecommitdiffstats
path: root/library/cpp/protobuf/util/is_equal.h
diff options
context:
space:
mode:
authormowgli <[email protected]>2022-02-10 16:49:25 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:49:25 +0300
commit56c39b3cf908e7202b1f7551a1653681e8015607 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/protobuf/util/is_equal.h
parent89afbbe4ca0e02e386dd4df08f7945f190dc1b84 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/protobuf/util/is_equal.h')
-rw-r--r--library/cpp/protobuf/util/is_equal.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/library/cpp/protobuf/util/is_equal.h b/library/cpp/protobuf/util/is_equal.h
index 35515639d01..13c0aae63d9 100644
--- a/library/cpp/protobuf/util/is_equal.h
+++ b/library/cpp/protobuf/util/is_equal.h
@@ -1,7 +1,7 @@
-#pragma once
-
+#pragma once
+
#include <util/generic/fwd.h>
-
+
namespace google {
namespace protobuf {
class Message;
@@ -9,11 +9,11 @@ namespace google {
}
}
-namespace NProtoBuf {
+namespace NProtoBuf {
using ::google::protobuf::FieldDescriptor;
using ::google::protobuf::Message;
}
-
+
namespace NProtoBuf {
// Reflection-based equality check for arbitrary protobuf messages
@@ -21,7 +21,7 @@ namespace NProtoBuf {
// a field with explicitly set default value.
bool IsEqual(const Message& m1, const Message& m2);
bool IsEqual(const Message& m1, const Message& m2, TString* differentPath);
-
+
bool IsEqualField(const Message& m1, const Message& m2, const FieldDescriptor& field);
// Non-strict version: optional field without explicit value is compared
@@ -29,5 +29,5 @@ namespace NProtoBuf {
bool IsEqualDefault(const Message& m1, const Message& m2);
bool IsEqualFieldDefault(const Message& m1, const Message& m2, const FieldDescriptor& field);
-
-}
+
+}