// optimization level
if ( o && hyp && !useBndRecovery ) {
if ( hyp->myOptimizationLevel >= 0 && hyp->myOptimizationLevel < 5 ) {
- char* level[] = { "none" , "light" , "standard" , "standard+" , "strong" };
+ const char* level[] = { "none" , "light" , "standard" , "standard+" , "strong" };
cmd += " -o ";
cmd += level[ hyp->myOptimizationLevel ];
}
valStr = "-c " + QString::number( !data.myToMeshHoles );
if ( data.myOptimizationLevel >= 0 && data.myOptimizationLevel < 5 && !data.myBoundaryRecovery) {
- char* level[] = { "none" , "light" , "standard" , "standard+" , "strong" };
+ const char* level[] = { "none" , "light" , "standard" , "standard+" , "strong" };
valStr += " -o ";
valStr += level[ data.myOptimizationLevel ];
}