diff options
author | bulatman <[email protected]> | 2022-02-10 16:45:50 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:45:50 +0300 |
commit | 6560e4993b14d193f8c879e33a3de5e5eba6e21d (patch) | |
tree | cfd2e2baa05c3196f2caacbb63c32e1df40bc3de /library/cpp/testing/gtest_extensions/probe.cpp | |
parent | 7489e4682331202b9c7d863c0898eb83d7b12c2b (diff) |
Restoring authorship annotation for <[email protected]>. 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 c3a49b93238..f8d59ebd6b7 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 |