martinzink commented on code in PR #2155:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2155#discussion_r3059882939


##########
libminifi/src/core/ProcessContextImpl.cpp:
##########
@@ -99,10 +99,10 @@ uint8_t ProcessContextImpl::getMaxConcurrentTasks() const { 
return processor_.ge
 
 void ProcessContextImpl::yield() { processor_.yield(); }
 
-nonstd::expected<std::string, std::error_code> 
ProcessContextImpl::getProperty(const std::string_view name, const FlowFile* 
flow_file) const {
+std::expected<std::string, std::error_code> 
ProcessContextImpl::getProperty(const std::string_view name, const FlowFile* 
flow_file) const {
   const auto property = getProcessorInfo().getSupportedProperty(name);
   if (!property) {
-    return nonstd::make_unexpected(PropertyErrorCode::NotSupportedProperty);
+    return std::unexpected(PropertyErrorCode::NotSupportedProperty);

Review Comment:
   👍 replaced them in [() -> 
{}](https://github.com/apache/nifi-minifi-cpp/pull/2155/commits/1cae8bceda621416a81d377eaa29b514561513af)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to