From 6a77d5cf42da2bd1d5fac4e435c6272ce561f623 Mon Sep 17 00:00:00 2001 From: atom0s Date: Fri, 18 Dec 2020 22:16:57 -0800 Subject: [PATCH] Fix argument usage typo. --- include/sol/reference.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sol/reference.hpp b/include/sol/reference.hpp index 40c4f3fe..636b9926 100644 --- a/include/sol/reference.hpp +++ b/include/sol/reference.hpp @@ -171,7 +171,7 @@ namespace sol { if (type_of(L_, -1) == type::thread) { return lua_tothread(L_, -1); } - return backup_if_unsupported; + return backup_if_unsupported_; #else if (L_ == nullptr) return backup_if_unsupported_;