mirror of
https://github.com/opencv/opencv.git
synced 2025-06-18 08:05:23 +08:00
GAPI: fix uninitialized variables in Fluid
This commit is contained in:
parent
7f453ade73
commit
be9f3826d7
@ -87,7 +87,7 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
std::unique_ptr<Priv> m_priv;
|
std::unique_ptr<Priv> m_priv;
|
||||||
const Cache* m_cache;
|
const Cache* m_cache = nullptr;
|
||||||
};
|
};
|
||||||
|
|
||||||
class GAPI_EXPORTS Buffer
|
class GAPI_EXPORTS Buffer
|
||||||
|
@ -245,7 +245,7 @@ class GAPI_EXPORTS Buffer::Priv
|
|||||||
|
|
||||||
// Coordinate starting from which this buffer is assumed
|
// Coordinate starting from which this buffer is assumed
|
||||||
// to be read (with border not being taken into account)
|
// to be read (with border not being taken into account)
|
||||||
int m_readStart;
|
int m_readStart = 0;
|
||||||
cv::Rect m_roi;
|
cv::Rect m_roi;
|
||||||
|
|
||||||
friend void debugBufferPriv(const Buffer& p, std::ostream &os);
|
friend void debugBufferPriv(const Buffer& p, std::ostream &os);
|
||||||
|
Loading…
Reference in New Issue
Block a user