From 6863ba6503e808ed3fa8c6357d4421ce48d7da96 Mon Sep 17 00:00:00 2001 From: Sanhaoji2 Date: Tue, 30 Apr 2024 19:07:26 +0800 Subject: [PATCH] clean up code --- include/abstract_graph_store.h | 1 - include/abstract_index.h | 2 +- include/index.h | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/include/abstract_graph_store.h b/include/abstract_graph_store.h index 7c22c639e..4d6906ca4 100644 --- a/include/abstract_graph_store.h +++ b/include/abstract_graph_store.h @@ -5,7 +5,6 @@ #include #include - #include "types.h" namespace diskann diff --git a/include/abstract_index.h b/include/abstract_index.h index 520cb3bbe..7c84a8ec9 100644 --- a/include/abstract_index.h +++ b/include/abstract_index.h @@ -106,7 +106,7 @@ class AbstractIndex template void set_universal_label(const label_type universal_label); - virtual bool is_label_valid(const std::string& raw_label) const = 0; + virtual bool is_label_valid(const std::string &raw_label) const = 0; virtual bool is_set_universal_label() const = 0; private: diff --git a/include/index.h b/include/index.h index 7961f24cb..320942013 100644 --- a/include/index.h +++ b/include/index.h @@ -466,7 +466,6 @@ template clas char *_opt_graph = nullptr; - T *_data = nullptr; // coordinates of all base points // Dimensions size_t _dim = 0; size_t _nd = 0; // number of active points i.e. existing in the graph