diff options
author | Jacques Lucke <jacques@blender.org> | 2021-02-15 21:03:27 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-02-15 21:03:32 +0300 |
commit | cab8a76abf73e61034eed685dd0c77178025f401 (patch) | |
tree | 1c512a81d52397de8e9557f726d24a1d00132cba /source/blender/io/alembic/exporter | |
parent | e2ab535e6f9289299727a067a162f9e546d0cc3f (diff) |
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.
Diffstat (limited to 'source/blender/io/alembic/exporter')
-rw-r--r-- | source/blender/io/alembic/exporter/abc_archive.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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<double> samples; if (params.frame_start == params.frame_end) { - return std::make_shared<TimeSampling>(); + return TimeSamplingPtr(new TimeSampling()); // NOLINT: modernize-make-shared } get_shutter_samples(scene_fps, params, nr_of_samples, true, samples); TimeSamplingType ts(static_cast<uint32_t>(samples.size()), 1.0 / scene_fps); - return std::make_shared<TimeSampling>(ts, samples); + return TimeSamplingPtr(new TimeSampling(ts, samples)); // NOLINT: modernize-make-shared } static void get_frames(double scene_fps, |