Skip to content

Commit

Permalink
Fix TNodeRegistrationResult (ydb-platform#7815)
Browse files Browse the repository at this point in the history
  • Loading branch information
UgnineSirdis authored Aug 15, 2024
1 parent 009d3c9 commit 5851c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ydb/public/sdk/cpp/client/ydb_discovery/discovery.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const ui64& TNodeRegistrationResult::GetScopePathId() const {
}

bool TNodeRegistrationResult::HasScopePathId() const {
return ScopePathId_.value();
return ScopePathId_.has_value();
}

bool TNodeRegistrationResult::HasNodeName() const {
Expand Down

0 comments on commit 5851c81

Please sign in to comment.