You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2020/07/27 08:53:31 UTC

[GitHub] [nifi-minifi-cpp] adamdebreceni commented on a change in pull request #849: MINIFICPP-1261 - Mark ScopeGuard class deprecated

adamdebreceni commented on a change in pull request #849:
URL: https://github.com/apache/nifi-minifi-cpp/pull/849#discussion_r460742700



##########
File path: extensions/windows-event-log/ConsumeWindowsEventLog.cpp
##########
@@ -340,7 +341,7 @@ void ConsumeWindowsEventLog::onTrigger(const std::shared_ptr<core::ProcessContex
 
   size_t eventCount = 0;
   const TimeDiff timeDiff;
-  utils::ScopeGuard timeGuard([&]() {
+  gsl::finally timeGuard([&]() {

Review comment:
       same as [this](https://github.com/apache/nifi-minifi-cpp/pull/849#discussion_r460123115)




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org