From 993d8ec4d349e1cc40db2ac92fa71a0ccdbae1aa Mon Sep 17 00:00:00 2001 From: Cai Yudong Date: Tue, 9 Nov 2021 16:29:04 +0800 Subject: [PATCH] Reorder header files for ScalarIndex (#11482) Signed-off-by: yudong.cai --- internal/core/src/segcore/ScalarIndex.cpp | 1 + internal/core/src/segcore/ScalarIndex.h | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/internal/core/src/segcore/ScalarIndex.cpp b/internal/core/src/segcore/ScalarIndex.cpp index 79c221a1e1..1ac55169d6 100644 --- a/internal/core/src/segcore/ScalarIndex.cpp +++ b/internal/core/src/segcore/ScalarIndex.cpp @@ -9,6 +9,7 @@ // 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 "exceptions/EasyAssert.h" #include "ScalarIndex.h" namespace milvus::segcore { diff --git a/internal/core/src/segcore/ScalarIndex.h b/internal/core/src/segcore/ScalarIndex.h index 4dee4bf2b8..b17aadc797 100644 --- a/internal/core/src/segcore/ScalarIndex.h +++ b/internal/core/src/segcore/ScalarIndex.h @@ -10,14 +10,14 @@ // or implied. See the License for the specific language governing permissions and limitations under the License #pragma once -#include "exceptions/EasyAssert.h" -#include "common/Types.h" -#include "pb/schema.pb.h" #include -#include #include #include +#include + +#include "common/Types.h" +#include "pb/schema.pb.h" namespace milvus::segcore { @@ -61,4 +61,5 @@ class ScalarIndexVector : public ScalarIndexBase { private: std::vector> mapping_; }; + } // namespace milvus::segcore