diff options
author | Arkadiy Illarionov <qarkai@gmail.com> | 2018-06-03 16:00:14 +0300 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-11 08:57:06 +0200 |
commit | 3bd8759f5ed0393b2cc5560cab1b5d4052bd9728 (patch) | |
tree | d48d1325fff62b343fe2d9a0f609f97316485d51 /cli_ure | |
parent | a901e48579e203a28cc0871ceed0356ae6a5798b (diff) |
tdf#96099 Remove some trivial std::vector typedefs
Change-Id: I0e60ec7a3edae42b25ff0917828d0a893ed39a38
Reviewed-on: https://gerrit.libreoffice.org/55245
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cli_ure')
-rw-r--r-- | cli_ure/source/climaker/climaker_emit.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cli_ure/source/climaker/climaker_emit.cxx b/cli_ure/source/climaker/climaker_emit.cxx index af66a246eca5..162963b6f15d 100644 --- a/cli_ure/source/climaker/climaker_emit.cxx +++ b/cli_ure/source/climaker/climaker_emit.cxx @@ -722,9 +722,8 @@ Assembly ^ TypeEmitter::type_resolve( array< ::System::Type^>^ base_interfaces = gcnew array< ::System::Type^>( vecBaseTypes.size() ); - typedef std::vector<Reference<reflection::XInterfaceTypeDescription2> >::const_iterator it; int index = 0; - for (it i = vecBaseTypes.begin(); i != vecBaseTypes.end(); ++i, ++index) + for (auto i = vecBaseTypes.begin(); i != vecBaseTypes.end(); ++i, ++index) base_interfaces[ index ] = get_type( *i ); type_builder = m_module_builder->DefineType( cts_name, attr, nullptr, base_interfaces ); |