diff options
author | bulatman <bulatman@yandex-team.ru> | 2022-02-10 16:45:50 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:50 +0300 |
commit | 6560e4993b14d193f8c879e33a3de5e5eba6e21d (patch) | |
tree | cfd2e2baa05c3196f2caacbb63c32e1df40bc3de /library/cpp/testing/gtest_extensions/probe.cpp | |
parent | 7489e4682331202b9c7d863c0898eb83d7b12c2b (diff) | |
download | ydb-6560e4993b14d193f8c879e33a3de5e5eba6e21d.tar.gz |
Restoring authorship annotation for <bulatman@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/testing/gtest_extensions/probe.cpp')
-rw-r--r-- | library/cpp/testing/gtest_extensions/probe.cpp | 22 |
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 c3a49b9323..f8d59ebd6b 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 |