From 0b9aeae8b9240d9be13a037836e248794e552eb4 Mon Sep 17 00:00:00 2001 From: Curve Date: Thu, 6 Jun 2024 22:28:31 +0200 Subject: [PATCH] chore(deps): bump dependencies --- CMakeLists.txt | 4 ++-- private/patchbay.impl.hpp | 2 +- src/patchbay.impl.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2f7b9b2..af314c0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.21) -project(venmic LANGUAGES CXX VERSION 6.0.0) +project(venmic LANGUAGES CXX VERSION 6.1.0) # -------------------------------------------------------------------------------------------------------- # Library options @@ -87,7 +87,7 @@ include("cmake/cpm.cmake") CPMFindPackage( NAME rohrkabel - VERSION 6.0 + VERSION 7.0 GIT_REPOSITORY "https://github.com/Curve/rohrkabel" ) diff --git a/private/patchbay.impl.hpp b/private/patchbay.impl.hpp index 31c77d2..8b633b3 100644 --- a/private/patchbay.impl.hpp +++ b/private/patchbay.impl.hpp @@ -98,7 +98,7 @@ namespace vencord private: std::shared_ptr core; - std::shared_ptr registry; + std::optional registry; private: std::atomic_bool should_exit{false}; diff --git a/src/patchbay.impl.cpp b/src/patchbay.impl.cpp index 4ee6029..deb9212 100644 --- a/src/patchbay.impl.cpp +++ b/src/patchbay.impl.cpp @@ -636,8 +636,8 @@ namespace vencord auto loop = pw::main_loop::create(); auto context = pw::context::create(loop); - core = context ? context->core() : nullptr; - registry = core ? core->registry() : nullptr; + core = context ? pw::core::create(context) : nullptr; + registry = core ? pw::registry::create(core) : std::nullopt; if (!core || !registry) {