Reformat codebase with 120 char limit (#583)

This commit is contained in:
Alex Kremer
2023-04-06 11:24:36 +01:00
committed by GitHub
parent e60fd3e58e
commit d816ef54ab
174 changed files with 5591 additions and 10450 deletions

View File

@@ -35,8 +35,7 @@ TEST(TimedTest, HasReturnValue)
TEST(TimedTest, ReturnVoid)
{
auto time = timed(
[]() { std::this_thread::sleep_for(std::chrono::milliseconds(5)); });
auto time = timed([]() { std::this_thread::sleep_for(std::chrono::milliseconds(5)); });
ASSERT_NE(time, 0);
}
@@ -85,9 +84,7 @@ TEST(TimedTest, NestedLambda)
double timeNested;
auto f = [&]() {
std::this_thread::sleep_for(std::chrono::milliseconds(5));
timeNested = timed([]() {
std::this_thread::sleep_for(std::chrono::milliseconds(5));
});
timeNested = timed([]() { std::this_thread::sleep_for(std::chrono::milliseconds(5)); });
return 8;
};
auto [ret, time] = timed<std::chrono::nanoseconds>(std::move(f));