From cab8a76abf73e61034eed685dd0c77178025f401 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Mon, 15 Feb 2021 19:03:27 +0100 Subject: Fix: wrong clang tidy cleanup This reverts a part of rBd3960164163c910d5031a8f076c41b39e0a5503d. It is not a `std::shared_ptr` but a `boost::shared_ptr`. This could probably be fixed differently, but `NOLINT` is fine now. --- source/blender/io/alembic/exporter/abc_archive.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/io') diff --git a/source/blender/io/alembic/exporter/abc_archive.cc b/source/blender/io/alembic/exporter/abc_archive.cc index 6c6ad985c9b..e066704cd24 100644 --- a/source/blender/io/alembic/exporter/abc_archive.cc +++ b/source/blender/io/alembic/exporter/abc_archive.cc @@ -141,13 +141,13 @@ static TimeSamplingPtr create_time_sampling(double scene_fps, std::vector samples; if (params.frame_start == params.frame_end) { - return std::make_shared(); + return TimeSamplingPtr(new TimeSampling()); // NOLINT: modernize-make-shared } get_shutter_samples(scene_fps, params, nr_of_samples, true, samples); TimeSamplingType ts(static_cast(samples.size()), 1.0 / scene_fps); - return std::make_shared(ts, samples); + return TimeSamplingPtr(new TimeSampling(ts, samples)); // NOLINT: modernize-make-shared } static void get_frames(double scene_fps, -- cgit v1.2.3