diff options
author | Sergey Sharybin <sergey@blender.org> | 2021-02-05 13:04:28 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2021-02-05 13:04:28 +0300 |
commit | db40d5ed9767f8c64f7341bb002dcb4250cdf0b0 (patch) | |
tree | ed252cd61038e01cd5f7679e880407e73275b3eb /source/blender/io/alembic/intern | |
parent | b6921506c957c9384c4c7ba6af00db1c88052d0a (diff) |
Cleanup: Modernize type definition in Alembic
Use newer `using` semantic for type definition.
Solves modernize-use-using Clang-Tidy warning.
Diffstat (limited to 'source/blender/io/alembic/intern')
-rw-r--r-- | source/blender/io/alembic/intern/abc_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/io/alembic/intern/abc_util.cc b/source/blender/io/alembic/intern/abc_util.cc index aa7beb37dc5..3d3ba0347c5 100644 --- a/source/blender/io/alembic/intern/abc_util.cc +++ b/source/blender/io/alembic/intern/abc_util.cc @@ -135,7 +135,7 @@ bool has_property(const Alembic::Abc::ICompoundProperty &prop, const std::string return prop.getPropertyHeader(name) != nullptr; } -typedef std::pair<Alembic::AbcCoreAbstract::index_t, float> index_time_pair_t; +using index_time_pair_t = std::pair<Alembic::AbcCoreAbstract::index_t, float>; float get_weight_and_index(float time, const Alembic::AbcCoreAbstract::TimeSamplingPtr &time_sampling, |