From 9c8fe00bb2cd5ff37e0774b71b35f0d23b4c5ef6 Mon Sep 17 00:00:00 2001 From: Alexey Efimov Date: Fri, 31 May 2024 19:33:33 +0700 Subject: [PATCH] fix windows build (#5080) --- ydb/core/viewer/viewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ydb/core/viewer/viewer.cpp b/ydb/core/viewer/viewer.cpp index cf64d64facbd..6c19e6d8f634 100644 --- a/ydb/core/viewer/viewer.cpp +++ b/ydb/core/viewer/viewer.cpp @@ -291,7 +291,7 @@ class TViewer : public TActorBootstrapped, public IViewer { } static TInstant GetCompileTime() { - static TInstant instantTime(timeval{.tv_sec = GetCompileTimeSeconds(), .tv_usec = 0}); + static TInstant instantTime(TInstant::Seconds(GetCompileTimeSeconds())); return instantTime; }