From 505095b043a2c158ce5edca3820a5837496f5491 Mon Sep 17 00:00:00 2001 From: Curve Date: Sat, 11 Nov 2023 23:42:52 +0100 Subject: [PATCH] fix(logger): explicit cast to fs::patj --- CMakeLists.txt | 2 +- src/logger.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c0d3af7..80a8395 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.21) -project(venmic LANGUAGES CXX VERSION 2.1.0) +project(venmic LANGUAGES CXX VERSION 2.1.1) # -------------------------------------------------------------------------------------------------------- # Library options diff --git a/src/logger.cpp b/src/logger.cpp index 155ce74..8192db3 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -19,7 +19,7 @@ namespace vencord if (auto home = std::getenv("HOME")) { - rtn = home / ".local" / "state"; + rtn = fs::path{home} / ".local" / "state"; } if (auto state_home = std::getenv("XDG_STATE_HOME"))