correct example in enum class docs
Merge pull request #244 from ptomulik/fix/enum-class-doc

correct example in enum class docs