summaryrefslogtreecommitdiff
path: root/battleNetApi/include/token.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'battleNetApi/include/token.hpp')
-rw-r--r--battleNetApi/include/token.hpp4
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