Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey@blender.org>2021-02-05 13:04:28 +0300
committerSergey Sharybin <sergey@blender.org>2021-02-05 13:04:28 +0300
commitdb40d5ed9767f8c64f7341bb002dcb4250cdf0b0 (patch)
treeed252cd61038e01cd5f7679e880407e73275b3eb /source/blender/io
parentb6921506c957c9384c4c7ba6af00db1c88052d0a (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')
-rw-r--r--source/blender/io/alembic/intern/abc_util.cc2
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,