File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
include/RhythmGameUtilities/Enums Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ std::string ToString(Difficulty difficulty)
3535 case Expert:
3636 return " Expert" ;
3737 default :
38- throw std::invalid_argument ( " Unknown Difficulty" ) ;
38+ return " Unknown Difficulty" ;
3939 }
4040}
4141
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ std::string ToString(NamedSection namedSection)
2828 case Events:
2929 return " Events" ;
3030 default :
31- throw std::invalid_argument ( " Unknown NamedSection" ) ;
31+ return " Unknown NamedSection" ;
3232 }
3333}
3434
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ std::string ToString(TypeCode typeCode)
3535 case EventMarker:
3636 return " E" ;
3737 default :
38- throw std::invalid_argument ( " Unknown TypeCode" ) ;
38+ return " Unknown TypeCode" ;
3939 }
4040}
4141
You can’t perform that action at this time.
0 commit comments