Clang-tidy updates for 19
Update to add new checks that are now available to us. Fix the minor
issues we have. A few of our checks that we previously had enabled have
been renamed, so remove those from the file as well.
Change-Id: Idbbfc3cb7ba42ac780e557554d7ae8ab190e7551
Signed-off-by: Ed Tanous <etanous@nvidia.com>
diff --git a/redfish-core/include/registries.hpp b/redfish-core/include/registries.hpp
index ce6d7b8..a465d6e 100644
--- a/redfish-core/include/registries.hpp
+++ b/redfish-core/include/registries.hpp
@@ -73,7 +73,7 @@
ret += msg.substr(0, stringIndex);
msg.remove_prefix(stringIndex + 1);
size_t number = 0;
- auto it = std::from_chars(msg.data(), &*msg.end(), number);
+ auto it = std::from_chars(&*msg.begin(), &*msg.end(), number);
if (it.ec != std::errc())
{
return "";