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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user