diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2023-05-10 15:51:34 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2023-05-11 00:18:24 +0300 |
commit | 89492a157c9cf972b342421e24d41fd382510251 (patch) | |
tree | 64ed25f427f1ab1981f8c2bdcbfbc7fde5db80e9 /redfish-core/include/gzfile.hpp | |
parent | cddbf3df0ea0b78521b62f30f2ce764c6619018a (diff) | |
download | bmcweb-89492a157c9cf972b342421e24d41fd382510251.tar.xz |
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.
Change-Id: I75f89d2959b0f1338c20d72ad669fbdc1d720835
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'redfish-core/include/gzfile.hpp')
-rw-r--r-- | redfish-core/include/gzfile.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redfish-core/include/gzfile.hpp b/redfish-core/include/gzfile.hpp index 844932aa81..34bc151ef5 100644 --- a/redfish-core/include/gzfile.hpp +++ b/redfish-core/include/gzfile.hpp @@ -97,8 +97,8 @@ class GzFileReader while (pos != std::string::npos) { - std::string logEntry = - bufferStr.substr(initialPos, pos - initialPos); + std::string logEntry = bufferStr.substr(initialPos, + pos - initialPos); // Since there might be consecutive delimiters like "\r\n", we need // to filter empty strings. if (!logEntry.empty()) |