chore: enable modernize-use-override and fix existing violations (#419)
Add modernize-use-override to .clang-tidy and apply fixes across src/ and tests/: replace redundant virtual with override, annotate missing override on derived methods, and drop redundant virtual on already-overridden methods.
This commit is contained in:
@@ -24,8 +24,8 @@ using namespace std;
|
||||
|
||||
class IVFBuilderTest : public testing::Test {
|
||||
protected:
|
||||
void SetUp();
|
||||
void TearDown();
|
||||
void SetUp() override;
|
||||
void TearDown() override;
|
||||
|
||||
void prepare_index_holder(uint32_t base_key, uint32_t num);
|
||||
|
||||
|
||||
@@ -31,8 +31,8 @@ using namespace std;
|
||||
class IVFSearcherTest : public testing::Test {
|
||||
public:
|
||||
protected:
|
||||
void SetUp();
|
||||
void TearDown();
|
||||
void SetUp() override;
|
||||
void TearDown() override;
|
||||
void prepare_index_holder(uint32_t base_key, uint32_t num);
|
||||
|
||||
void prepare_rand_index_holder(uint32_t base_key, uint32_t num);
|
||||
|
||||
Reference in New Issue
Block a user