You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ba...@apache.org on 2019/11/11 13:55:02 UTC
[nifi-minifi-cpp] branch master updated: MINIFICPP-1065 - Fix linter
This is an automated email from the ASF dual-hosted git repository.
bakaid pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git
The following commit(s) were added to refs/heads/master by this push:
new 945b312 MINIFICPP-1065 - Fix linter
945b312 is described below
commit 945b3124e08e23f49e62bf593e8a82a479a0e2d6
Author: Daniel Bakai <ba...@apache.org>
AuthorDate: Mon Nov 11 13:02:52 2019 +0100
MINIFICPP-1065 - Fix linter
Signed-off-by: Daniel Bakai <ba...@apache.org>
Approved by aboda on GH
This closes #679
---
libminifi/src/utils/Id.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libminifi/src/utils/Id.cpp b/libminifi/src/utils/Id.cpp
index e88b710..d70b4da 100644
--- a/libminifi/src/utils/Id.cpp
+++ b/libminifi/src/utils/Id.cpp
@@ -71,7 +71,7 @@ namespace {
UuidCreate(&uuid);
windowsUuidToUuidField(&uuid, out);
}
-}
+} // namespace
#endif
Identifier::Identifier(UUID_FIELD u)
@@ -285,7 +285,7 @@ bool IdGenerator::generateWithUuidImpl(unsigned int mode, UUID_FIELD output) {
std::lock_guard<std::mutex> lock(uuid_mutex_);
uuid_impl_->make(mode);
uuid = uuid_impl_->binary();
- } catch (uuid_error_t& uuid_error){
+ } catch (uuid_error_t& uuid_error) {
logger_->log_error("Failed to generate UUID, error: %s", uuid_error.string());
return false;
}