From 6d1053e8278676e00589a481dab4f03cff584794 Mon Sep 17 00:00:00 2001 From: Yuri Gorshenin Date: Fri, 13 Feb 2015 14:00:34 +0300 Subject: [PATCH] Fixes. --- indexer/features_offsets_table.cpp | 2 +- indexer/features_offsets_table.hpp | 4 ---- indexer/indexer_tests/features_offsets_table_test.cpp | 6 ++++-- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/indexer/features_offsets_table.cpp b/indexer/features_offsets_table.cpp index ce0bf95de2..5f12bae20f 100644 --- a/indexer/features_offsets_table.cpp +++ b/indexer/features_offsets_table.cpp @@ -3,7 +3,7 @@ #include "../coding/file_writer.hpp" #include "../base/assert.hpp" #include "../base/scope_guard.hpp" -#include "../../std/string.hpp" +#include "../std/string.hpp" #include "../defines.hpp" namespace feature diff --git a/indexer/features_offsets_table.hpp b/indexer/features_offsets_table.hpp index ad9c8aa92c..c6a0ba9417 100644 --- a/indexer/features_offsets_table.hpp +++ b/indexer/features_offsets_table.hpp @@ -20,9 +20,6 @@ namespace feature class Builder { public: - Builder() = default; - ~Builder() = default; - /// Adds offset to the end of the sequence of already /// accumulated offsets. Note that offset must be strictly /// greater than all previously added offsets. @@ -60,7 +57,6 @@ namespace feature /// when it's not possible to load FeaturesOffsetsTable. static unique_ptr Load(FilesMappingContainer const & container); - ~FeaturesOffsetsTable() = default; FeaturesOffsetsTable(FeaturesOffsetsTable const &) = delete; FeaturesOffsetsTable const & operator=(FeaturesOffsetsTable const &) = delete; diff --git a/indexer/indexer_tests/features_offsets_table_test.cpp b/indexer/indexer_tests/features_offsets_table_test.cpp index 1156c83042..2b05c964f5 100644 --- a/indexer/indexer_tests/features_offsets_table_test.cpp +++ b/indexer/indexer_tests/features_offsets_table_test.cpp @@ -1,13 +1,15 @@ +#include "../../testing/testing.hpp" + #include "../features_offsets_table.hpp" #include "../data_header.hpp" #include "../features_vector.hpp" + +#include "../../platform/platform.hpp" #include "../../coding/file_container.hpp" #include "../../base/scope_guard.hpp" #include "../../std/bind.hpp" #include "../../std/string.hpp" #include "../../defines.hpp" -#include "../../platform/platform.hpp" -#include "../../testing/testing.hpp" namespace feature {