2
0
mirror of https://github.com/boostorg/gil.git synced 2026-02-14 12:52:09 +00:00

Apply clang-tidy modernize-use-override (#182)

Used clang-tidy 7.0 with the command:

run-clang-tidy.py \
    -header-filter='boost\/gil\/.*'
    -checks='-*,modernize-use-override' -fix
This commit is contained in:
Mateusz Loskot
2018-12-10 23:10:22 +01:00
committed by GitHub
parent 9533d5c101
commit 78110fc89c
2 changed files with 5 additions and 5 deletions

View File

@@ -389,8 +389,8 @@ public:
checksum_image_test(const char* filename) : _filename(filename) {}
private:
const char* _filename;
virtual void initialize();
virtual void check_view_impl(const rgb8c_view_t& v, const string& name);
void initialize() override;
void check_view_impl(const rgb8c_view_t& v, const string& name) override;
};
// Load the checksums from the reference file and create the start image
@@ -444,8 +444,8 @@ public:
checksum_image_generate(const char* filename) : _filename(filename) {}
private:
const char* _filename;
virtual void check_view_impl(const rgb8c_view_t& img_view, const string& name);
virtual void finalize();
void check_view_impl(const rgb8c_view_t& img_view, const string& name) override;
void finalize() override;
};
// Add the checksum of the given view to the map of checksums