From e790ba3e4190261d66981af8740c754d3ccd5d48 Mon Sep 17 00:00:00 2001 From: Cai Yudong Date: Tue, 12 Oct 2021 12:44:33 +0800 Subject: [PATCH] Reorder header files (#9700) Signed-off-by: yudong.cai --- internal/core/unittest/test_get_entity_by_ids.cpp | 6 ++++-- internal/core/unittest/test_index_wrapper.cpp | 14 +++++++------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/internal/core/unittest/test_get_entity_by_ids.cpp b/internal/core/unittest/test_get_entity_by_ids.cpp index 3afd028dc..b45ef8d4b 100644 --- a/internal/core/unittest/test_get_entity_by_ids.cpp +++ b/internal/core/unittest/test_get_entity_by_ids.cpp @@ -10,9 +10,11 @@ // or implied. See the License for the specific language governing permissions and limitations under the License #include -#include "test_utils/DataGen.h" -#include "segcore/ScalarIndex.h" + #include "query/ExprImpl.h" +#include "segcore/ScalarIndex.h" +#include "test_utils/DataGen.h" + using namespace milvus; using namespace milvus::segcore; diff --git a/internal/core/unittest/test_index_wrapper.cpp b/internal/core/unittest/test_index_wrapper.cpp index e1b143e70..c3f32bede 100644 --- a/internal/core/unittest/test_index_wrapper.cpp +++ b/internal/core/unittest/test_index_wrapper.cpp @@ -9,18 +9,18 @@ // is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express // or implied. See the License for the specific language governing permissions and limitations under the License -#include -#include -#include #include +#include +#include +#include -#include "pb/index_cgo_msg.pb.h" -#include "index/knowhere/knowhere/index/vector_index/helpers/IndexParameter.h" -#include "index/knowhere/knowhere/index/vector_index/adapter/VectorAdapter.h" #include "indexbuilder/IndexWrapper.h" #include "indexbuilder/index_c.h" -#include "test_utils/DataGen.h" #include "indexbuilder/utils.h" +#include "index/knowhere/knowhere/index/vector_index/helpers/IndexParameter.h" +#include "index/knowhere/knowhere/index/vector_index/adapter/VectorAdapter.h" +#include "pb/index_cgo_msg.pb.h" +#include "test_utils/DataGen.h" #include "test_utils/indexbuilder_test_utils.h" constexpr int64_t NB = 1000; -- GitLab