From 99421df7033148e6abb4e9f7a4d5d43f5cbd2ab4 Mon Sep 17 00:00:00 2001 From: Aotrix <9aotrix@protonmail.com> Date: Thu, 30 Jul 2026 04:31:49 +0200 Subject: Fixed tests for HearthstoneApi --- battleNetApi/include/token.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'battleNetApi/include/token.hpp') diff --git a/battleNetApi/include/token.hpp b/battleNetApi/include/token.hpp index f943b81..479cb29 100644 --- a/battleNetApi/include/token.hpp +++ b/battleNetApi/include/token.hpp @@ -22,9 +22,9 @@ class Token { }; namespace { -auto currentTime = [] { +auto currentTime = [] -> std::chrono::seconds { return std::chrono::duration_cast( - std::chrono::steady_clock::now().time_since_epoch()); + std::chrono::system_clock::now().time_since_epoch()); }; } // namespace } // namespace bnet -- cgit v1.2.3