diff options
author | Martin Braun <martin.braun@ettus.com> | 2020-03-02 15:25:13 -0800 |
---|---|---|
committer | atrnati <54334261+atrnati@users.noreply.github.com> | 2020-03-03 08:51:32 -0600 |
commit | 876d4150aa3da531ddd687b48afada6e43f79146 (patch) | |
tree | fd72a71419f4cd800d4e500cfcaded4dfc8dc367 /host/tests/scope_exit_test.cpp | |
parent | 1393553d623bdf4ba40d5435c9719b6ce990d9ac (diff) | |
download | uhd-876d4150aa3da531ddd687b48afada6e43f79146.tar.gz uhd-876d4150aa3da531ddd687b48afada6e43f79146.tar.bz2 uhd-876d4150aa3da531ddd687b48afada6e43f79146.zip |
uhd: Apply clang-format against all .cpp and .hpp files in host/
Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of
files that clang-format gets applied against.
Diffstat (limited to 'host/tests/scope_exit_test.cpp')
-rw-r--r-- | host/tests/scope_exit_test.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/host/tests/scope_exit_test.cpp b/host/tests/scope_exit_test.cpp index 7c05613a8..daadaf2fb 100644 --- a/host/tests/scope_exit_test.cpp +++ b/host/tests/scope_exit_test.cpp @@ -20,7 +20,7 @@ BOOST_AUTO_TEST_CASE(test_scope_exit) BOOST_AUTO_TEST_CASE(test_scope_exit_function_object) { - bool flag = false; + bool flag = false; std::function<void(void)> resetter = [&flag]() { flag = true; }; { @@ -32,7 +32,7 @@ BOOST_AUTO_TEST_CASE(test_scope_exit_function_object) BOOST_AUTO_TEST_CASE(test_scope_exit_function_named_lambda) { - bool flag = false; + bool flag = false; auto resetter = [&flag]() { flag = true; }; { @@ -42,4 +42,3 @@ BOOST_AUTO_TEST_CASE(test_scope_exit_function_named_lambda) } BOOST_CHECK(flag); } - |