1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

Changed sharev_ptr for Priv to unique_ptr for fluid::Buffer

This commit is contained in:
Ruslan Garnov
2019-11-13 14:58:58 +03:00
parent b3a07166ba
commit 6c93e42d94
4 changed files with 13 additions and 8 deletions
@@ -115,6 +115,8 @@ public:
BorderOpt border);
// Constructor for in/out buffers (for tests)
Buffer(const cv::gapi::own::Mat &data, bool is_input);
~Buffer();
Buffer& operator=(Buffer&&);
inline uint8_t* OutLineB(int index = 0)
{
@@ -143,7 +145,7 @@ public:
const Priv& priv() const; // internal use only
private:
std::shared_ptr<Priv> m_priv;
std::unique_ptr<Priv> m_priv;
const Cache* m_cache;
};