From de0f93aa8b59c653287450e17c035006eddb7eec Mon Sep 17 00:00:00 2001 From: dankmeme01 <42031238+dankmeme01@users.noreply.github.com> Date: Sun, 8 Dec 2024 11:15:44 +0100 Subject: [PATCH] bump asp, fixing systemtime errors --- CMakeLists.txt | 2 +- src/ui/menu/admin/punishment_history_popup.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 70130f04..ccf7d780 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -144,7 +144,7 @@ CPMAddPackage( URL_HASH SHA256=ee6e0793b5ec7d13e7181ec05d3b1aaa23615947295080e4b9930324488e078f OPTIONS "BOOST_ENABLE_CMAKE ON" "BOOST_INCLUDE_LIBRARIES describe\\\;stacktrace\\\;thread" # escape with \\\; ) -CPMAddPackage("gh:dankmeme01/asp2#6720133") +CPMAddPackage("gh:dankmeme01/asp2#1ffd8a3") # asp defines if (WIN32) diff --git a/src/ui/menu/admin/punishment_history_popup.cpp b/src/ui/menu/admin/punishment_history_popup.cpp index 17e1f506..51362d84 100644 --- a/src/ui/menu/admin/punishment_history_popup.cpp +++ b/src/ui/menu/admin/punishment_history_popup.cpp @@ -76,7 +76,7 @@ class AdminPunishmentHistoryPopup::Cell : public CCNode { .parent(this) .collect(); - SystemTime issuedAt = SystemTime::fromUnix(entry.issuedAt.value_or(0));; + SystemTime issuedAt = SystemTime::fromUnix(entry.issuedAt.value_or(0)); SystemTime expiresAt = SystemTime::fromUnix(entry.expiresAt); bool isPermanent = expiresAt.to_time_t() == 0;