diff --git a/modules/imgproc/src/colormap.cpp b/modules/imgproc/src/colormap.cpp index 171135e247..8d257a818f 100644 --- a/modules/imgproc/src/colormap.cpp +++ b/modules/imgproc/src/colormap.cpp @@ -502,7 +502,7 @@ namespace colormap this->_lut = c; } void init(int n) { - CV_Error(Error::StsAssert, "unused method in UserColormap."); + CV_Error(Error::StsAssert, format("unused method in UserColormap init(%d).",n)); } };