Skip to content

Commit b299e9f

Browse files
MBkktmbasmanova
authored andcommitted
Update Configs.h
1 parent c8f154f commit b299e9f

File tree

1 file changed

+1
-1
lines changed
  • presto-native-execution/presto_cpp/main/common

1 file changed

+1
-1
lines changed

presto-native-execution/presto_cpp/main/common/Configs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class ConfigBase {
115115
folly::Optional<std::string> optionalProperty(
116116
const std::string& propertyName) const {
117117
auto val = config_->get<std::string>(propertyName);
118-
if (val.hasValue()) {
118+
if (val.has_value()) {
119119
return val;
120120
}
121121
const auto it = registeredProps_.find(propertyName);

0 commit comments

Comments
 (0)