Skip to content

Commit abf7bdc

Browse files
committed
move code from assert
1 parent 05ab5bf commit abf7bdc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/nbl/asset/ICPUImage.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,8 @@ class CFlattenRegionsStreamHashImageFilter : public CMatchedSizeInOutImageFilter
188188
flatten.preFill = true;
189189
memset(flatten.fillValue.pointer, 0, sizeof(flatten.fillValue.pointer));
190190

191-
assert(CFlattenRegionsImageFilter::execute(policy, &proxy.flatten)); // this should never fail, at this point we are already validated
191+
auto status = CFlattenRegionsImageFilter::execute(policy, &proxy.flatten);
192+
assert(status); // this should never fail, at this point we are already validated
192193
}
193194

194195
/*

0 commit comments

Comments
 (0)