Skip to content

Commit 973d9dd

Browse files
committed
Mark typeSize as deprecated
1 parent b874fa7 commit 973d9dd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

PrjBarlib/include/barstrucs.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,10 @@ MEXP namespace bc
469469
virtual int channels() const = 0;
470470

471471
virtual void maxAndMin(Barscalar& min, Barscalar& max) const = 0;
472-
virtual size_t typeSize() const = 0;
472+
473+
// Deprecated
474+
virtual size_t typeSize() const
475+
{ return 1; }
473476

474477
virtual Barscalar get(int x, int y) const = 0;
475478

0 commit comments

Comments
 (0)