-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove p8-platform dependency #167
Conversation
|
||
if (expires <= P8PLATFORM::GetTimeMs()) | ||
if (expires <= std::chrono::steady_clock::now()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AlwinEsch IIRC, you recently introduce a binary addon API function "GetTimeMs". Why do we need this? As you can see here, "std::chrono::steady_clock::now()" does the same and no special Kodi API needed...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Has overseen the new C++11, there are so much new parts inside that I still not know all.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please revert that API change? I think we should not bloat our API with stuff that can be realized with the c++ standard library.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AlwinEsch I opened xbmc/xbmc#16035 to remove that addon API function.
No description provided.