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)
35
35
case Expert:
36
36
return " Expert" ;
37
37
default :
38
- throw std::invalid_argument ( " Unknown Difficulty" ) ;
38
+ return " Unknown Difficulty" ;
39
39
}
40
40
}
41
41
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ std::string ToString(NamedSection namedSection)
28
28
case Events:
29
29
return " Events" ;
30
30
default :
31
- throw std::invalid_argument ( " Unknown NamedSection" ) ;
31
+ return " Unknown NamedSection" ;
32
32
}
33
33
}
34
34
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ std::string ToString(TypeCode typeCode)
35
35
case EventMarker:
36
36
return " E" ;
37
37
default :
38
- throw std::invalid_argument ( " Unknown TypeCode" ) ;
38
+ return " Unknown TypeCode" ;
39
39
}
40
40
}
41
41
You can’t perform that action at this time.
0 commit comments