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:
Ruslan Lesiutin authored and Facebook GitHub Bot committed 2025-08-04 06:03:41 -07:00
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());
}