We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e48d78 commit dc6281eCopy full SHA for dc6281e
unit/util/piped_process.cpp
@@ -79,8 +79,10 @@ TEST_CASE(
79
commands.push_back("cmd /c ping 127.0.0.1 -n 6 > nul");
80
std::chrono::steady_clock::time_point start_time =
81
std::chrono::steady_clock::now();
82
- piped_processt process(commands);
83
- process.~piped_processt();
+ {
+ // Scope restriction to cause destruction
84
+ piped_processt process(commands);
85
+ }
86
std::chrono::steady_clock::time_point end_time =
87
88
std::chrono::duration<double> time_span =
0 commit comments