Commit 3c072f31 authored by 余昆's avatar 余昆
Browse files

clang tidy and clang format


Former-commit-id: a451b79ef4d43595d2a81b85e444eaa71da6c830
parent 360655d9
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -17,7 +17,6 @@

#pragma once


#include <memory>

namespace milvus {
@@ -27,7 +26,6 @@ class DataObj {
 public:
    virtual int64_t
    Size() = 0;

};

using DataObjPtr = std::shared_ptr<DataObj>;
+5 −2
Original line number Diff line number Diff line
@@ -113,10 +113,13 @@ class BFIndex : public VecIndexImpl {

class ToIndexData : public cache::DataObj {
 public:
    ToIndexData(int64_t size) : size_(size) {}
    explicit ToIndexData(int64_t size) : size_(size) {
    }

    int64_t
    Size() override {return size_;}
    Size() override {
        return size_;
    }

 private:
    int64_t size_;
+50 −50

File changed.

Contains only whitespace changes.