diff options
author | thegeorg <thegeorg@yandex-team.com> | 2023-12-14 04:29:40 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2023-12-14 05:00:47 +0300 |
commit | 22602ef8900784f4ea2a011c25eaeaf682193dbd (patch) | |
tree | 075c8acc2e85752585f7c546e304d52ca910bbe2 /library | |
parent | e50247b5e3a3952c4033494b37ed26f59473f472 (diff) | |
download | ydb-22602ef8900784f4ea2a011c25eaeaf682193dbd.tar.gz |
Fix modernize-use-emplace reported by clang-tidy16
Diffstat (limited to 'library')
-rw-r--r-- | library/cpp/testing/unittest/registar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/testing/unittest/registar.h b/library/cpp/testing/unittest/registar.h index 580d804061..312796ccf0 100644 --- a/library/cpp/testing/unittest/registar.h +++ b/library/cpp/testing/unittest/registar.h @@ -947,7 +947,7 @@ public: \ static void AddTest(const char* name, \ const std::function<void(NUnitTest::TTestContext&)>& body, bool forceFork) \ { \ - Tests().push_back([=]{ return MakeHolder<NUnitTest::TBaseTestCase>(name, body, forceFork); }); \ + Tests().emplace_back([=]{ return MakeHolder<NUnitTest::TBaseTestCase>(name, body, forceFork); }); \ } \ \ static void AddTest(TTestCaseFactory testCaseFactory) { \ |