diff options
| author | Aotrix <[email protected]> | 2026-07-30 04:31:49 +0200 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2026-07-30 04:31:49 +0200 |
| commit | 99421df7033148e6abb4e9f7a4d5d43f5cbd2ab4 (patch) | |
| tree | 8d03c98500709b6f1ef03b787fbde47ec2e0efaf /battleNetApi/include/token.hpp | |
| parent | 1fbfd13f5d7220122b2a127627cc9105013b4893 (diff) | |
Fixed tests for HearthstoneApi
Diffstat (limited to 'battleNetApi/include/token.hpp')
| -rw-r--r-- | battleNetApi/include/token.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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::seconds>( - std::chrono::steady_clock::now().time_since_epoch()); + std::chrono::system_clock::now().time_since_epoch()); }; } // namespace } // namespace bnet |
