From 25c68d51a42cb00b6a7172218c77d91599df94c9 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Wed, 21 Mar 2018 16:58:07 +0300 Subject: [PATCH] freetype: apply CV_OVERRIDE/CV_FINAL --- modules/freetype/src/freetype.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/freetype/src/freetype.cpp b/modules/freetype/src/freetype.cpp index c12976198..5e569e076 100644 --- a/modules/freetype/src/freetype.cpp +++ b/modules/freetype/src/freetype.cpp @@ -61,22 +61,22 @@ namespace freetype { using namespace std; -class CV_EXPORTS_W FreeType2Impl : public FreeType2 +class CV_EXPORTS_W FreeType2Impl CV_FINAL : public FreeType2 { public: FreeType2Impl(); ~FreeType2Impl(); - void loadFontData(String fontFileName, int id) ; - void setSplitNumber( int num ); + void loadFontData(String fontFileName, int id) CV_OVERRIDE; + void setSplitNumber( int num ) CV_OVERRIDE; void putText( InputOutputArray img, const String& text, Point org, int fontHeight, Scalar color, int thickness, int line_type, bool bottomLeftOrigin - ); + ) CV_OVERRIDE; Size getTextSize( const String& text, int fontHeight, int thickness, CV_OUT int* baseLine - ); + ) CV_OVERRIDE; private: FT_Library mLibrary;