Skip to content

Commit 5851c81

Browse files
authored
Fix TNodeRegistrationResult (#7815)
1 parent 009d3c9 commit 5851c81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/public/sdk/cpp/client/ydb_discovery/discovery.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ const ui64& TNodeRegistrationResult::GetScopePathId() const {
120120
}
121121

122122
bool TNodeRegistrationResult::HasScopePathId() const {
123-
return ScopePathId_.value();
123+
return ScopePathId_.has_value();
124124
}
125125

126126
bool TNodeRegistrationResult::HasNodeName() const {

0 commit comments

Comments
 (0)