mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-04-21 21:52:04 +02:00
fix conflicts with #207
This commit is contained in:
parent
d4bf2123a9
commit
f27018912c
1 changed files with 4 additions and 3 deletions
|
@ -693,7 +693,7 @@ RB_METHOD_GUARD(mkxpLaunch) {
|
|||
}
|
||||
RB_METHOD_GUARD_END
|
||||
|
||||
RB_METHOD(mkxpParseCSV) {
|
||||
RB_METHOD_GUARD(mkxpParseCSV) {
|
||||
RB_UNUSED_PARAM;
|
||||
|
||||
VALUE str;
|
||||
|
@ -713,11 +713,12 @@ RB_METHOD(mkxpParseCSV) {
|
|||
rb_ary_push(ret, col);
|
||||
}
|
||||
} catch (std::exception &e) {
|
||||
raiseRbExc(Exception(Exception::MKXPError, "Failed to parse CSV: %s", e.what()));
|
||||
throw Exception(Exception::MKXPError, "Failed to parse CSV: %s", e.what());
|
||||
}
|
||||
|
||||
|
||||
return ret;
|
||||
}
|
||||
RB_METHOD_GUARD_END
|
||||
|
||||
json5pp::value loadUserSettings() {
|
||||
json5pp::value ret;
|
||||
|
|
Loading…
Add table
Reference in a new issue