Merge pull request #846 from andrewk-mccann:size_t-missing-bug

pull/861/head
Alexander Alekhin 8 years ago
commit 4c1cbc8763
  1. 4
      modules/matlab/include/opencv2/matlab/bridge.hpp

@ -293,6 +293,10 @@ public:
int toInt() { return ptr_.scalar<int>(); }
operator int() { return toInt(); }
// --------------------------- size_t -----------------------------------------
Bridge& operator=(const size_t&) { return *this; }
size_t toSizeT() { return ptr_.scalar<size_t>(); }
operator size_t() { return toSizeT(); }

Loading…
Cancel
Save