Skip to content

Commit 9c8fe00

Browse files
authored
fix windows build (#5080)
1 parent 136beb6 commit 9c8fe00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/core/viewer/viewer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ class TViewer : public TActorBootstrapped<TViewer>, public IViewer {
291291
}
292292

293293
static TInstant GetCompileTime() {
294-
static TInstant instantTime(timeval{.tv_sec = GetCompileTimeSeconds(), .tv_usec = 0});
294+
static TInstant instantTime(TInstant::Seconds(GetCompileTimeSeconds()));
295295
return instantTime;
296296
}
297297

0 commit comments

Comments
 (0)