From 01ee9d7a3840b891162c715d362a646793f928a6 Mon Sep 17 00:00:00 2001 From: Faumaray Date: Mon, 20 Oct 2025 22:16:43 +0300 Subject: [PATCH] remove Signed-off-by: Faumaray --- src/Mods/Loader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mods/Loader.cpp b/src/Mods/Loader.cpp index 49f2232..06fbbbf 100644 --- a/src/Mods/Loader.cpp +++ b/src/Mods/Loader.cpp @@ -9,7 +9,7 @@ namespace vl::mod { std::size_t ModLoader::loadModule(const std::string& path, const Context& ctx, bool isGlobal) { void* handle = LoadLibrary(path, isGlobal); - if (!handle) throw std::runtime_error(std::string("dlopen failed: ") + dlerror()); + if (!handle) throw std::runtime_error(std::string("dlopen failed: ")); handles_.push_back(handle); const std::size_t before = Registry::all().size();