summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-07-31 07:02:04 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-07-31 07:02:04 +0200
commitc39b1a665114ad2a8231f0ea69f9c730cc434070 (patch)
treea03159f663962070345ba892ff8a67e8da9a6d35 /includes
parentfd192780b998f46dac8d192ba68666bb5d8db73d (diff)
Added a few forgotten references.
Diffstat (limited to 'includes')
-rw-r--r--includes/BLua.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/BLua.h b/includes/BLua.h
index 8756f0f..926782a 100644
--- a/includes/BLua.h
+++ b/includes/BLua.h
@@ -350,7 +350,7 @@ class LuaHelpers : public LuaHelpersBase {
try {
r = method_multiplex_internal(caller, L, proceed, proceed_static, tab, method);
}
- catch (EAgain e) {
+ catch (EAgain & e) {
pushContext(L, [caller, proceed, proceed_static, tab, method](Lua & L) -> int { return method_multiplex_resume(caller, L, proceed, proceed_static, tab, method); }, e.getEvent());
r = L.yield(L.gettop());
}
@@ -364,7 +364,7 @@ class LuaHelpers : public LuaHelpersBase {
try {
r = method_multiplex_internal(caller, L, proceed, proceed_static, tab, method);
}
- catch (EAgain e) {
+ catch (EAgain & e) {
pushContext(L, [caller, proceed, proceed_static, tab, method](Lua & L) -> int { return method_multiplex_resume(caller, L, proceed, proceed_static, tab, method); }, e.getEvent());
r = -1;
}