1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

remove redundant semicolons

This commit is contained in:
shengyu
2021-10-27 20:19:05 +08:00
parent 60f949e36f
commit 9dadc06e64
8 changed files with 11 additions and 11 deletions
@@ -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;
@@ -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
@@ -59,7 +59,7 @@ public:
using F = std::function<void(GPlaidMLContext &)>;
GPlaidMLKernel() = default;
explicit GPlaidMLKernel(const F& f) : m_f(f) {};
explicit GPlaidMLKernel(const F& f) : m_f(f) {}
void apply(GPlaidMLContext &ctx) const
{
@@ -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<IDataProvider>;
virtual ~IDataProvider() {};
virtual ~IDataProvider() {}
/**
* The function is used by onevpl::GSource to extract binary data stream from @ref IDataProvider
@@ -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;