Cleanup: Modernize type definition in Alembic

Use newer `using` semantic for type definition.
Solves modernize-use-using Clang-Tidy warning.
This commit is contained in:
Sergey Sharybin
2021-02-05 11:04:28 +01:00
parent b6921506c9
commit db40d5ed97

View File

@@ -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,