We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2000a2b commit f93114cCopy full SHA for f93114c
src/librawspeed/adt/CroppedArray2DRef.h
@@ -100,6 +100,7 @@ inline void CroppedArray2DRef<T>::establishClassInvariants() const noexcept {
100
invariant(croppedHeight <= base.height());
101
invariant(offsetCols + croppedWidth <= base.width());
102
invariant(offsetRows + croppedHeight <= base.height());
103
+ invariant((croppedWidth == 0) == (croppedHeight == 0));
104
}
105
106
template <class T>
0 commit comments