Skip to content

Commit

Permalink
bump asp, fixing systemtime errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dankmeme01 committed Dec 8, 2024
1 parent 53c59de commit de0f93a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/ui/menu/admin/punishment_history_popup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit de0f93a

Please sign in to comment.