From 83c255676b8c215b59605347977a190833d73911 Mon Sep 17 00:00:00 2001 From: tatiana-yan Date: Wed, 29 Apr 2020 22:06:04 +0300 Subject: [PATCH] [generator] Remove features size check. We already check it when we write features section. --- generator/feature_sorter.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/generator/feature_sorter.cpp b/generator/feature_sorter.cpp index 3e49f2605d..e1d94d9adb 100644 --- a/generator/feature_sorter.cpp +++ b/generator/feature_sorter.cpp @@ -73,13 +73,6 @@ public: m_addrFile = make_unique(filename + TEMP_ADDR_FILENAME); } - ~FeaturesCollector2() - { - // Check file size. - auto const unused = CheckedFilePosCast(m_dataFile); - UNUSED_VALUE(unused); - } - void Finish() { // write version information