diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b2e83d2..1c59481b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project are documented below. The format is based on [keep a changelog](http://keepachangelog.com/) and this project uses [semantic versioning](http://semver.org/). +### [2.8.5] - [2024-05-23] +### Fixed +- Fixed initialization of shared pointer in `authenticateSteamAsync`. + ### [2.8.4] - [2023-11-25] ### Fixed - Fixed an issue where `NRtClient` would throw an exception when connecting over poor Wifi connections. diff --git a/core/common/BaseClient.cpp b/core/common/BaseClient.cpp index e50bb329..bf8ba8cd 100644 --- a/core/common/BaseClient.cpp +++ b/core/common/BaseClient.cpp @@ -204,7 +204,7 @@ std::future BaseClient::authenticateSteamAsync( bool create, const NStringMap& vars) { - auto promise = std::shared_ptr>(); + auto promise = std::make_shared>(); authenticateSteam(token, username, create, vars, [=](NSessionPtr session) { diff --git a/version.cmake b/version.cmake index 4e7ea3cd..16bdf7c8 100644 --- a/version.cmake +++ b/version.cmake @@ -1,4 +1,4 @@ # Easy to update by CI scripts file containing our version as well as # dependent git repos to achieve reproducible builds -set(LIBNAKAMA_VERSION 2.8.4) +set(LIBNAKAMA_VERSION 2.8.5)