mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 08:13:04 +04:00
Merge branch 4.x
This commit is contained in:
@@ -26,14 +26,14 @@ class BlockStorage {
|
||||
dynamicBlocks.push_back(new block_type);
|
||||
}
|
||||
BlockStorage(const BlockStorage&) = delete;
|
||||
BlockStorage(BlockStorage&&) noexcept = default;
|
||||
BlockStorage(BlockStorage&&) = default;
|
||||
~BlockStorage() {
|
||||
for(const auto & block : dynamicBlocks) {
|
||||
delete block;
|
||||
}
|
||||
}
|
||||
BlockStorage& operator=(const BlockStorage&) = delete;
|
||||
BlockStorage& operator=(BlockStorage&&) noexcept = default;
|
||||
BlockStorage& operator=(BlockStorage&&) = default;
|
||||
|
||||
void clear(void) {
|
||||
const size_t minDynamicBlocks = !staticBlocksCount ? 1 : 0;
|
||||
|
||||
@@ -190,7 +190,7 @@ public:
|
||||
ContourDataStorage(ContourDataStorage&&) noexcept = default;
|
||||
~ContourDataStorage() = default;
|
||||
ContourDataStorage& operator=(const ContourDataStorage&) = delete;
|
||||
ContourDataStorage& operator=(ContourDataStorage&&) noexcept = default;
|
||||
ContourDataStorage& operator=(ContourDataStorage&&) = default;
|
||||
public:
|
||||
typename storage_t::RangeIterator getRangeIterator(void) const {return storage->getRangeIterator(first, last);}
|
||||
public:
|
||||
@@ -243,7 +243,7 @@ public:
|
||||
Contour(const Contour&) = delete;
|
||||
Contour(Contour&& other) noexcept = default;
|
||||
Contour& operator=(const Contour&) = delete;
|
||||
Contour& operator=(Contour&& other) noexcept = default;
|
||||
Contour& operator=(Contour&& other) = default;
|
||||
~Contour() = default;
|
||||
void updateBoundingRect() {}
|
||||
bool isEmpty() const
|
||||
|
||||
Reference in New Issue
Block a user