mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
fix: removed constexpr from now() (#53014)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/53014 # Changelog: [Internal] This doesn't make sense, I've probably overlooked it while applying this to other methods. Reviewed By: rubennorte Differential Revision: D79552990 fbshipit-source-id: a7dc428dfcc86a08a9e52655f9878795b8e58c1c
This commit is contained in:
1 parent
2016118aeb
commit
bfd6c6d8fc
1 file changed
+1
-1
@@ -196,7 +196,7 @@ class HighResTimeStamp {
|
||||
HighResTimeStamp() noexcept
|
||||
: chronoTimePoint_(std::chrono::steady_clock::now()) {}
|
||||
|
||||
static constexpr HighResTimeStamp now() noexcept {
|
||||
static HighResTimeStamp now() noexcept {
|
||||
return HighResTimeStamp(std::chrono::steady_clock::now());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user