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

pull/17377/head
Alexander Alekhin 5 years ago
commit 6202556fc0
  1. 2
      modules/gapi/include/opencv2/gapi/fluid/gfluidbuffer.hpp
  2. 2
      modules/gapi/src/backends/fluid/gfluidbuffer_priv.hpp

@ -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

@ -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);

Loading…
Cancel
Save