fixed backend test compilation

This commit is contained in:
Sascha Kühl
2025-02-12 16:01:52 +01:00
parent 42acaf24ce
commit 5d41a592bb
36 changed files with 727 additions and 575 deletions
+2 -4
View File
@@ -9,13 +9,11 @@ library::library(std::string lib)
: lib_(std::move(lib))
{}
library::~library()
{
library::~library() {
unload();
}
bool library::load()
{
bool library::load() {
auto path = os::getenv("MATADOR_BACKENDS_PATH");
#if defined(_MSC_VER) || defined(__MINGW32__)
auto cookie = AddDllDirectory(std::wstring(path.begin(), path.end()).c_str());