Suppress warning unused parameter

This commit is contained in:
LaurentBerger 2016-12-15 10:51:08 +01:00
parent 61b9484155
commit 4826d976d6

View File

@ -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));
}
};