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 3c526ac commit 8392ce7Copy full SHA for 8392ce7
presto-native-execution/presto_cpp/main/common/ConfigReader.cpp
@@ -87,7 +87,7 @@ std::string requiredProperty(
87
const velox::config::ConfigBase& properties,
88
const std::string& name) {
89
auto value = properties.get<std::string>(name);
90
- if (!value.hasValue()) {
+ if (!value.has_value()) {
91
VELOX_USER_FAIL("Missing configuration property {}", name);
92
}
93
return value.value();
@@ -120,7 +120,7 @@ std::string getOptionalProperty(
120
const std::string& name,
121
const std::string& defaultValue) {
122
123
124
return defaultValue;
125
126
0 commit comments