diff options
| author | Martin Hořeňovský | 2021-08-10 00:16:05 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2021-08-11 22:51:59 +0200 |
| commit | 3579c055c890b525d5e46f81aa9670521da28962 (patch) | |
| tree | a05add47eae3b505c5cfb1e20397ad7732dfb063 /src/catch2/catch_test_case_info.cpp | |
| parent | 3ec63324a823c19697720fda3eab1f18d297210c (diff) | |
| download | catch3-3579c055c890b525d5e46f81aa9670521da28962.tar.gz | |
Use Detail::make_unique<T> in more places
Diffstat (limited to 'src/catch2/catch_test_case_info.cpp')
| -rw-r--r-- | src/catch2/catch_test_case_info.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/catch2/catch_test_case_info.cpp b/src/catch2/catch_test_case_info.cpp index 800c94fa..6a60f928 100644 --- a/src/catch2/catch_test_case_info.cpp +++ b/src/catch2/catch_test_case_info.cpp @@ -107,7 +107,7 @@ namespace Catch { makeTestCaseInfo(std::string const& _className, NameAndTags const& nameAndTags, SourceLineInfo const& _lineInfo ) { - return Detail::unique_ptr<TestCaseInfo>(new TestCaseInfo(_className, nameAndTags, _lineInfo)); + return Detail::make_unique<TestCaseInfo>(_className, nameAndTags, _lineInfo); } TestCaseInfo::TestCaseInfo(std::string const& _className, |