Skip to content

Commit

Permalink
fix windows build (ydb-platform#5080)
Browse files Browse the repository at this point in the history
  • Loading branch information
adameat authored May 31, 2024
1 parent 136beb6 commit 9c8fe00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ydb/core/viewer/viewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ class TViewer : public TActorBootstrapped<TViewer>, public IViewer {
}

static TInstant GetCompileTime() {
static TInstant instantTime(timeval{.tv_sec = GetCompileTimeSeconds(), .tv_usec = 0});
static TInstant instantTime(TInstant::Seconds(GetCompileTimeSeconds()));
return instantTime;
}

Expand Down

0 comments on commit 9c8fe00

Please sign in to comment.