From 0b21060f748f006deb7ef64b7c5c4decabbf369e Mon Sep 17 00:00:00 2001 From: Michael Haselberger Date: Mon, 3 Mar 2025 14:45:40 +0100 Subject: [PATCH] fix: missing template specifier for std::mutex Adds a template specifier to the std::unique_lock call in mun_lld_link. --- wrapper/lld-c.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrapper/lld-c.cpp b/wrapper/lld-c.cpp index 8ae1479..8c8dfe4 100644 --- a/wrapper/lld-c.cpp +++ b/wrapper/lld-c.cpp @@ -78,7 +78,7 @@ LldInvokeResult mun_lld_link(LldFlavor flavor, int argc, const char *const *argv } // LLD is not thread-safe at all, so we guard parallel invocation with a mutex - std::unique_lock lock(concurrencyMutex); + std::unique_lock lock(concurrencyMutex); result.success = link(args, outputStream, errorStream, false, false); // Delete the global context and clear the global context pointer, so that it