Skip to content

Commit

Permalink
chore(deps): bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed Jun 6, 2024
1 parent d52565c commit 0b9aeae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -87,7 +87,7 @@ include("cmake/cpm.cmake")

CPMFindPackage(
NAME rohrkabel
VERSION 6.0
VERSION 7.0
GIT_REPOSITORY "https://github.com/Curve/rohrkabel"
)

Expand Down
2 changes: 1 addition & 1 deletion private/patchbay.impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ namespace vencord

private:
std::shared_ptr<pw::core> core;
std::shared_ptr<pw::registry> registry;
std::optional<pw::registry> registry;

private:
std::atomic_bool should_exit{false};
Expand Down
4 changes: 2 additions & 2 deletions src/patchbay.impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 0b9aeae

Please sign in to comment.