Commit 4826d976 authored by LaurentBerger's avatar LaurentBerger

Suppress warning unused parameter

parent 61b94841
...@@ -502,7 +502,7 @@ namespace colormap ...@@ -502,7 +502,7 @@ namespace colormap
this->_lut = c; this->_lut = c;
} }
void init(int n) { void init(int n) {
CV_Error(Error::StsAssert, "unused method in UserColormap."); CV_Error(Error::StsAssert, format("unused method in UserColormap init(%d).",n));
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment