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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user