Compiler Error C2126

'operator' : incorrect operand

The operator (usually ++ or --) was incorrectly applied to an enumeration.