diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-09-29 00:37:49 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-09-30 23:05:17 +0200 |
commit | f9ac6543ab29bf87ee8c2ff2d91cf41747a43e04 (patch) | |
tree | 9464624310bc244c2e5b3704eb4b90dd66c44e38 /src/Bindings/LuaState.h | |
parent | Doors: check power & toggle correctly (diff) | |
download | cuberite-f9ac6543ab29bf87ee8c2ff2d91cf41747a43e04.tar cuberite-f9ac6543ab29bf87ee8c2ff2d91cf41747a43e04.tar.gz cuberite-f9ac6543ab29bf87ee8c2ff2d91cf41747a43e04.tar.bz2 cuberite-f9ac6543ab29bf87ee8c2ff2d91cf41747a43e04.tar.lz cuberite-f9ac6543ab29bf87ee8c2ff2d91cf41747a43e04.tar.xz cuberite-f9ac6543ab29bf87ee8c2ff2d91cf41747a43e04.tar.zst cuberite-f9ac6543ab29bf87ee8c2ff2d91cf41747a43e04.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Bindings/LuaState.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/LuaState.h b/src/Bindings/LuaState.h index f17bd0485..2c45377c7 100644 --- a/src/Bindings/LuaState.h +++ b/src/Bindings/LuaState.h @@ -838,7 +838,7 @@ public: /** Prints the message, prefixed with the current function name, then logs the stack contents and raises a Lua error. To be used for bindings when they detect bad parameters. Doesn't return, but a dummy return type is provided so that Lua API functions may do "return ApiParamError(...)". */ - int ApiParamError(fmt::string_view a_Msg); + int ApiParamError(std::string_view a_Msg); /** Formats and prints the message using printf-style format specifiers, but prefixed with the current function name, then logs the stack contents and raises a Lua error. To be used for bindings when they detect bad parameters. |