Skip to content

Commit bfd6c6d

Browse files
hoxyqfacebook-github-bot
authored andcommitted
fix: removed constexpr from now() (#53014)
Summary: Pull Request resolved: #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
1 parent 2016118 commit bfd6c6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react-native/ReactCommon/react/timing/primitives.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ class HighResTimeStamp {
196196
HighResTimeStamp() noexcept
197197
: chronoTimePoint_(std::chrono::steady_clock::now()) {}
198198

199-
static constexpr HighResTimeStamp now() noexcept {
199+
static HighResTimeStamp now() noexcept {
200200
return HighResTimeStamp(std::chrono::steady_clock::now());
201201
}
202202

0 commit comments

Comments
 (0)