From 130466629ff244670de6ca59e56668b669d0fc2b Mon Sep 17 00:00:00 2001 From: Vivien Nicolas Date: Wed, 6 Oct 2021 00:33:16 +0200 Subject: [PATCH] Add chip:: namespace before NodeId in PERSISTENT_KEY_OP macro defined in src/lib/support/PersistentStorageMacros.h (#10183) --- src/lib/support/PersistentStorageMacros.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/support/PersistentStorageMacros.h b/src/lib/support/PersistentStorageMacros.h index 3b17368f1a0b19..4c9be7ef5778ad 100644 --- a/src/lib/support/PersistentStorageMacros.h +++ b/src/lib/support/PersistentStorageMacros.h @@ -38,8 +38,8 @@ constexpr const char kNextAvailableKeyID[] = "StartKeyID"; { \ constexpr size_t len = std::extent::value; \ nlSTATIC_ASSERT_PRINT(len > 0, "keyPrefix length must be known at compile time"); \ - /* 2 * sizeof(NodeId) to accomodate 2 character for each byte in Node Id */ \ - char key[len + 2 * sizeof(NodeId) + 1]; \ + /* 2 * sizeof(chip::NodeId) to accomodate 2 character for each byte in Node Id */ \ + char key[len + 2 * sizeof(chip::NodeId) + 1]; \ nlSTATIC_ASSERT_PRINT(sizeof(node) <= sizeof(uint64_t), "Node ID size is greater than expected"); \ snprintf(key, sizeof(key), "%s%" PRIx64, keyPrefix, node); \ action; \