From 93ab4aa89d8d81e5dd042201b75165f8db4968bd Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Mon, 18 Feb 2019 09:03:05 +0500 Subject: Trying to fix build in linux --- src/Plugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Plugin.cpp b/src/Plugin.cpp index 40ff82f..41c690c 100644 --- a/src/Plugin.cpp +++ b/src/Plugin.cpp @@ -20,7 +20,7 @@ sol::state lua; namespace PluginApi { - void RegisterPlugin(sol::table &self, sol::table &plugin) { + void RegisterPlugin(sol::table self, sol::table plugin) { Plugin nativePlugin { plugin["name"].get_or("75"), plugin["displayName"].get_or(""), @@ -34,7 +34,7 @@ namespace PluginApi { LOG(INFO) << "Loaded plugin " << (!nativePlugin.displayName.empty() ? nativePlugin.displayName : nativePlugin.name); } - void LogWarning(sol::table &self, std::string text) { + void LogWarning(sol::table self, std::string text) { LOG(WARNING) << text; } -- cgit v1.2.3