From fe695f3d69dbb03e1d8908b7e674cef6b1126dfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Can=20B=C3=B6l=C3=BCk?= Date: Fri, 28 Aug 2020 10:55:51 +0200 Subject: [PATCH] Switch to pre-inc iteration. --- VTIL-Common/io/table_view.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VTIL-Common/io/table_view.hpp b/VTIL-Common/io/table_view.hpp index 7fb7f70..052d670 100644 --- a/VTIL-Common/io/table_view.hpp +++ b/VTIL-Common/io/table_view.hpp @@ -87,7 +87,7 @@ namespace vtil::format std::vector> string_entries; string_entries.reserve( entry_count ); - for ( auto eit = std::begin( data_source ); eit != std::end( data_source ); eit++ ) + for ( auto eit = std::begin( data_source ); eit != std::end( data_source ); ++eit ) { auto& output = string_entries.emplace_back(); make_constant_series( [ & ] ( auto tag )