From b92c85e4f08117a1783f68364053c6d5f1fb27b3 Mon Sep 17 00:00:00 2001 From: Kai Blaschke Date: Mon, 8 Apr 2024 15:42:36 +0200 Subject: [PATCH] Add missing const qualifier --- src/gui/SystemBrowser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/SystemBrowser.cpp b/src/gui/SystemBrowser.cpp index dad759d..0d7d3c2 100644 --- a/src/gui/SystemBrowser.cpp +++ b/src/gui/SystemBrowser.cpp @@ -22,7 +22,7 @@ void SystemBrowser::OpenURL(const std::string& url) handle.wait(); #endif #ifdef __APPLE__ - CFURLRef urlRef = CFURLCreateWithBytes(nullptr, reinterpret_cast(url.c_str()), url.length(), kCFStringEncodingASCII, nullptr); + CFURLRef urlRef = CFURLCreateWithBytes(nullptr, reinterpret_cast(url.c_str()), url.length(), kCFStringEncodingASCII, nullptr); LSOpenCFURLRef(urlRef, 0); CFRelease(urlRef); #endif