Skip to content

Commit ba5f109

Browse files
authored
Merge pull request #113 from xstrahl/fix/incorrect-return-type
fix: use default init, not 0
2 parents 76d1adb + 39c3544 commit ba5f109

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)