diff --git a/samples/cpp/falsecolor.cpp b/samples/cpp/falsecolor.cpp index 84f81cc84f..a72711c1e4 100644 --- a/samples/cpp/falsecolor.cpp +++ b/samples/cpp/falsecolor.cpp @@ -3,7 +3,7 @@ using namespace cv; using namespace std; -enum {MyCIRCLE=0,MyRECTANGLE,MyELLIPSE}MyShape; +enum MyShape{MyCIRCLE=0,MyRECTANGLE,MyELLIPSE}; struct ParamColorMar { int iColormap;