aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/testing/gtest_extensions/probe.cpp
diff options
context:
space:
mode:
authorbulatman <bulatman@yandex-team.ru>2022-02-10 16:45:50 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:50 +0300
commit2f6ca198245aeffd5e2d82b65927c2465b68b4f5 (patch)
tree9142afc54d335ea52910662635b898e79e192e49 /library/cpp/testing/gtest_extensions/probe.cpp
parent6560e4993b14d193f8c879e33a3de5e5eba6e21d (diff)
downloadydb-2f6ca198245aeffd5e2d82b65927c2465b68b4f5.tar.gz
Restoring authorship annotation for <bulatman@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/testing/gtest_extensions/probe.cpp')
-rw-r--r--library/cpp/testing/gtest_extensions/probe.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/library/cpp/testing/gtest_extensions/probe.cpp b/library/cpp/testing/gtest_extensions/probe.cpp
index f8d59ebd6b..c3a49b9323 100644
--- a/library/cpp/testing/gtest_extensions/probe.cpp
+++ b/library/cpp/testing/gtest_extensions/probe.cpp
@@ -1,13 +1,13 @@
-#include "probe.h"
-
-#include <ostream>
-
+#include "probe.h"
+
+#include <ostream>
+
namespace testing {
- void PrintTo(const TProbeState& state, ::std::ostream* os) {
- int copies = state.CopyConstructors + state.CopyAssignments;
- int moves = state.MoveConstructors + state.MoveAssignments;
- *os << state.Constructors << " ctors, " << state.Destructors << " dtors; "
- << "copies: " << copies << " = " << state.CopyConstructors << " + " << state.CopyAssignments << "; "
- << "moves: " << moves << " = " << state.MoveConstructors << " + " << state.MoveAssignments;
- }
+ void PrintTo(const TProbeState& state, ::std::ostream* os) {
+ int copies = state.CopyConstructors + state.CopyAssignments;
+ int moves = state.MoveConstructors + state.MoveAssignments;
+ *os << state.Constructors << " ctors, " << state.Destructors << " dtors; "
+ << "copies: " << copies << " = " << state.CopyConstructors << " + " << state.CopyAssignments << "; "
+ << "moves: " << moves << " = " << state.MoveConstructors << " + " << state.MoveAssignments;
+ }
} // namespace testing