diff options
| author | vvvv <[email protected]> | 2022-02-10 16:46:37 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:37 +0300 |
| commit | a693106aae8a3a3c7236a4ae953058a9611d7a92 (patch) | |
| tree | 49e222ea1c5804306084bb3ae065bb702625360f /library/cpp/testing/unittest | |
| parent | ad94e93a059747f4fc3d7add88d1a83daf40b733 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/testing/unittest')
| -rw-r--r-- | library/cpp/testing/unittest/utmain.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/testing/unittest/utmain.cpp b/library/cpp/testing/unittest/utmain.cpp index 33b0ccc63a8..305bc6b40fc 100644 --- a/library/cpp/testing/unittest/utmain.cpp +++ b/library/cpp/testing/unittest/utmain.cpp @@ -584,13 +584,13 @@ public: _CrtSetReportMode(_CRT_ERROR, _CRTDBG_MODE_FILE | _CRTDBG_MODE_DEBUG); _CrtSetReportFile(_CRT_ERROR, _CRTDBG_FILE_STDERR); } - } - ~TWinEnvironment() { + } + ~TWinEnvironment() { if (!IsDebuggerPresent()) { _CrtSetReportMode(_CRT_WARN, _CRTDBG_MODE_FILE); _CrtSetReportFile(_CRT_WARN, _CRTDBG_FILE_STDERR); } - + SetConsoleOutputCP(OutputCP); // restore original output CP at program exit } |
