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 | 2f6ca198245aeffd5e2d82b65927c2465b68b4f5 (patch) | |
| tree | 9142afc54d335ea52910662635b898e79e192e49 /library/cpp/testing/gtest_extensions/probe.cpp | |
| parent | 6560e4993b14d193f8c879e33a3de5e5eba6e21d (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 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 f8d59ebd6b7..c3a49b93238 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 |
