We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8f154f commit b299e9fCopy full SHA for b299e9f
presto-native-execution/presto_cpp/main/common/Configs.h
@@ -115,7 +115,7 @@ class ConfigBase {
115
folly::Optional<std::string> optionalProperty(
116
const std::string& propertyName) const {
117
auto val = config_->get<std::string>(propertyName);
118
- if (val.hasValue()) {
+ if (val.has_value()) {
119
return val;
120
}
121
const auto it = registeredProps_.find(propertyName);
0 commit comments