Merge pull request #17367 from anton-potapov:ap/fluid_fix_uninit_members

This commit is contained in:
Alexander Alekhin 2020-05-25 11:00:13 +00:00
commit 6202556fc0
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ public:
private:
std::unique_ptr<Priv> m_priv;
const Cache* m_cache;
const Cache* m_cache = nullptr;
};
class GAPI_EXPORTS Buffer

View File

@ -245,7 +245,7 @@ class GAPI_EXPORTS Buffer::Priv
// Coordinate starting from which this buffer is assumed
// to be read (with border not being taken into account)
int m_readStart;
int m_readStart = 0;
cv::Rect m_roi;
friend void debugBufferPriv(const Buffer& p, std::ostream &os);