remove redundant semicolons

pull/20772/head
shengyu 3 years ago
parent c1148c4ea6
commit 4d87f6025e
  1. 12
      modules/gapi/include/opencv2/gapi/own/types.hpp

@ -27,7 +27,7 @@ class Point
{
public:
Point() = default;
Point(int _x, int _y) : x(_x), y(_y) {};
Point(int _x, int _y) : x(_x), y(_y) {}
int x = 0;
int y = 0;
@ -37,7 +37,7 @@ class Point2f
{
public:
Point2f() = default;
Point2f(float _x, float _y) : x(_x), y(_y) {};
Point2f(float _x, float _y) : x(_x), y(_y) {}
float x = 0.f;
float y = 0.f;
@ -47,9 +47,9 @@ class Rect
{
public:
Rect() = default;
Rect(int _x, int _y, int _width, int _height) : x(_x), y(_y), width(_width), height(_height) {};
Rect(int _x, int _y, int _width, int _height) : x(_x), y(_y), width(_width), height(_height) {}
#if !defined(GAPI_STANDALONE)
Rect(const cv::Rect& other) : x(other.x), y(other.y), width(other.width), height(other.height) {};
Rect(const cv::Rect& other) : x(other.x), y(other.y), width(other.width), height(other.height) {}
inline Rect& operator=(const cv::Rect& other)
{
x = other.x;
@ -104,9 +104,9 @@ class Size
{
public:
Size() = default;
Size(int _width, int _height) : width(_width), height(_height) {};
Size(int _width, int _height) : width(_width), height(_height) {}
#if !defined(GAPI_STANDALONE)
Size(const cv::Size& other) : width(other.width), height(other.height) {};
Size(const cv::Size& other) : width(other.width), height(other.height) {}
inline Size& operator=(const cv::Size& rhs)
{
width = rhs.width;

Loading…
Cancel
Save