Skip to content

Commit 39c3544

Browse files
fix: use default init, not 0
1 parent f32ff21 commit 39c3544

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cisstStereoVision/svlSampleImageCustom.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ class /*CISST_EXPORT*/ svlSampleImageCustom : public svlSampleImage
342342
else return cv::Mat();
343343
#else // CISST_SVL_HAS_OPENCV
344344
CMN_LOG_CLASS_INIT_ERROR << "Class svlSampleImageCustom: CvMatRef() called while OpenCV is disabled" << std::endl;
345-
return 0;
345+
return {};
346346
#endif // CISST_SVL_HAS_OPENCV
347347
}
348348

0 commit comments

Comments
 (0)