Skip to content

Commit 71d7284

Browse files
committed
Use std::nullopt instead of default std::optional constructor
1 parent 3d4252b commit 71d7284

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/graphqlservice/GraphQLService.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ struct ModifiedArgument
298298
if (valueItr == arguments.get<const response::MapType&>().cend()
299299
|| valueItr->second.type() == response::Type::Null)
300300
{
301-
return {};
301+
return std::nullopt;
302302
}
303303

304304
auto result = require<Other...>(name, arguments);

0 commit comments

Comments
 (0)