Exception: Constructor now takes printf style arguments
This commit is contained in:
parent
5b736bcfd6
commit
9759e52b3c
7 changed files with 20 additions and 30 deletions
|
@ -548,8 +548,8 @@ read_value(MarshalContext *ctx)
|
|||
break;
|
||||
|
||||
default :
|
||||
throw Exception(Exception::MKXPError, "Marshal.load: unsupported value type '%s'",
|
||||
std::string(1, (char)type));
|
||||
throw Exception(Exception::MKXPError, "Marshal.load: unsupported value type '%c'",
|
||||
(char) type);
|
||||
}
|
||||
|
||||
mrb_gc_arena_restore(mrb, arena);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue