diff --git a/modules/gapi/include/opencv2/gapi/fluid/gfluidbuffer.hpp b/modules/gapi/include/opencv2/gapi/fluid/gfluidbuffer.hpp index daa9d4153e..551f0a398f 100644 --- a/modules/gapi/include/opencv2/gapi/fluid/gfluidbuffer.hpp +++ b/modules/gapi/include/opencv2/gapi/fluid/gfluidbuffer.hpp @@ -25,7 +25,7 @@ namespace fluid { struct Border { // This constructor is required to support existing kernels which are part of G-API - Border(int _type, cv::Scalar _val) : type(_type), value(_val) {}; + Border(int _type, cv::Scalar _val) : type(_type), value(_val) {} int type; cv::Scalar value; diff --git a/modules/gapi/include/opencv2/gapi/gtransform.hpp b/modules/gapi/include/opencv2/gapi/gtransform.hpp index 5d1b91b517..109bc87b7f 100644 --- a/modules/gapi/include/opencv2/gapi/gtransform.hpp +++ b/modules/gapi/include/opencv2/gapi/gtransform.hpp @@ -31,7 +31,7 @@ struct GAPI_EXPORTS GTransform F pattern; F substitute; - GTransform(const std::string& d, const F &p, const F &s) : description(d), pattern(p), substitute(s){}; + GTransform(const std::string& d, const F &p, const F &s) : description(d), pattern(p), substitute(s) {} }; namespace detail diff --git a/modules/gapi/include/opencv2/gapi/plaidml/gplaidmlkernel.hpp b/modules/gapi/include/opencv2/gapi/plaidml/gplaidmlkernel.hpp index 7ce00cfa35..e22ecc7211 100644 --- a/modules/gapi/include/opencv2/gapi/plaidml/gplaidmlkernel.hpp +++ b/modules/gapi/include/opencv2/gapi/plaidml/gplaidmlkernel.hpp @@ -59,7 +59,7 @@ public: using F = std::function; GPlaidMLKernel() = default; - explicit GPlaidMLKernel(const F& f) : m_f(f) {}; + explicit GPlaidMLKernel(const F& f) : m_f(f) {} void apply(GPlaidMLContext &ctx) const { diff --git a/modules/gapi/include/opencv2/gapi/streaming/onevpl/data_provider_interface.hpp b/modules/gapi/include/opencv2/gapi/streaming/onevpl/data_provider_interface.hpp index 2c299520f7..ac3444757d 100644 --- a/modules/gapi/include/opencv2/gapi/streaming/onevpl/data_provider_interface.hpp +++ b/modules/gapi/include/opencv2/gapi/streaming/onevpl/data_provider_interface.hpp @@ -17,7 +17,7 @@ namespace wip { namespace onevpl { struct GAPI_EXPORTS DataProviderException : public std::exception { - virtual ~DataProviderException() {}; + virtual ~DataProviderException() {} }; struct GAPI_EXPORTS DataProviderSystemErrorException : public DataProviderException { @@ -42,7 +42,7 @@ private: struct GAPI_EXPORTS IDataProvider { using Ptr = std::shared_ptr; - virtual ~IDataProvider() {}; + virtual ~IDataProvider() {} /** * The function is used by onevpl::GSource to extract binary data stream from @ref IDataProvider diff --git a/modules/gapi/include/opencv2/gapi/util/optional.hpp b/modules/gapi/include/opencv2/gapi/util/optional.hpp index 6c8ceebbda..dca03cadad 100644 --- a/modules/gapi/include/opencv2/gapi/util/optional.hpp +++ b/modules/gapi/include/opencv2/gapi/util/optional.hpp @@ -33,7 +33,7 @@ namespace util // Constructors // NB.: there were issues with Clang 3.8 when =default() was used // instead {} - optional() {}; + optional() {} optional(const optional&) = default; explicit optional(T&&) noexcept; explicit optional(const T&) noexcept; diff --git a/modules/gapi/src/compiler/gislandmodel.hpp b/modules/gapi/src/compiler/gislandmodel.hpp index 2cdd10346c..063504a922 100644 --- a/modules/gapi/src/compiler/gislandmodel.hpp +++ b/modules/gapi/src/compiler/gislandmodel.hpp @@ -140,7 +140,7 @@ public: // FIXME: This thing will likely break stuff once we introduce // "multi-source streaming", a better design needs to be proposed // at that stage. - virtual void handleNewStream() {}; // do nothing here by default + virtual void handleNewStream() {} // do nothing here by default // This method is called for every IslandExecutable when // the stream-based execution is stopped. diff --git a/modules/gapi/src/compiler/transactions.hpp b/modules/gapi/src/compiler/transactions.hpp index bdc1723e19..9092c66291 100644 --- a/modules/gapi/src/compiler/transactions.hpp +++ b/modules/gapi/src/compiler/transactions.hpp @@ -69,8 +69,8 @@ struct ChangeT { struct Base { - virtual void commit (ade::Graph & ) {}; - virtual void rollback(ade::Graph & ) {}; + virtual void commit (ade::Graph & ) {} + virtual void rollback(ade::Graph & ) {} virtual ~Base() = default; }; diff --git a/modules/gapi/src/executor/gtbbexecutor.hpp b/modules/gapi/src/executor/gtbbexecutor.hpp index db3ee5c133..3c2bf1ff98 100644 --- a/modules/gapi/src/executor/gtbbexecutor.hpp +++ b/modules/gapi/src/executor/gtbbexecutor.hpp @@ -83,8 +83,8 @@ struct tile_node { std::vector dependants; - tile_node(decltype(sync_task_body::body)&& f) : task_body(sync_task_body{std::move(f)}) {}; - tile_node(async_tag, decltype(async_task_body::body)&& f) : task_body(async_task_body{std::move(f)}) {}; + tile_node(decltype(sync_task_body::body)&& f) : task_body(sync_task_body{std::move(f)}) {} + tile_node(async_tag, decltype(async_task_body::body)&& f) : task_body(async_task_body{std::move(f)}) {} }; std::ostream& operator<<(std::ostream& o, tile_node const& n);