Skip to content

Commit 0bcfe65

Browse files
committed
1 parent 5d6c244 commit 0bcfe65

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

src/videoreader.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,6 @@ This file is part of Fast Track.
3737
VideoReader::VideoReader(const string &path) : m_path{path} {
3838
}
3939

40-
/**
41-
* @brief Copy constructor.
42-
* @param[in] video.
43-
*/
44-
VideoReader::VideoReader(const VideoReader &video) : VideoCapture(video) {
45-
}
46-
47-
VideoReader &VideoReader::operator=(const VideoReader &video) {
48-
return *this;
49-
}
50-
5140
/**
5241
* @brief Open the VideoReader.
5342
* @param[in] path to file.

src/videoreader.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ class VideoReader : public VideoCapture {
4141
public:
4242
VideoReader() = default;
4343
VideoReader(const string &path);
44-
VideoReader(const VideoReader &);
45-
VideoReader &operator=(const VideoReader &);
44+
VideoReader(const VideoReader &) = delete;
45+
VideoReader &operator=(const VideoReader &) = delete;
4646
bool getNext(UMat &destination);
4747
bool getNext(Mat &destination);
4848
bool getImage(int index, UMat &destination);

0 commit comments

Comments
 (0)