diff options
author | Ed Tanous <ed.tanous@intel.com> | 2018-08-13 21:11:56 +0300 |
---|---|---|
committer | Ed Tanous <ed.tanous@intel.com> | 2018-08-13 21:48:50 +0300 |
commit | 8ceb2eca408311131e661227122b2a72a7f65938 (patch) | |
tree | c03007e6f49fcaaae019250ac3252376b9972c5d /include/gzip_helper.hpp | |
parent | a975e9febfb4ed5838b19ecd608da77e8e2e20f0 (diff) | |
download | bmcweb-8ceb2eca408311131e661227122b2a72a7f65938.tar.xz |
Clang-format cleanup
It looks like some of the code reviews in progress contain clang-format
fixes as well.
This squashes all of the clang-format fixes into a single commit, that
hopefully can go through the process a little faster, as it should only
be whitespace changes.
In the past, clang-formatting the naughty strings file proved
to return inconsistent results, and even formatted files would still be
detected as unformatted. Aparently the solution was to run
clang-format-5.0 approximately 20 times in a loop, until it decided on
a code layout that it was ok with iteration to iteration.
This is a bit of a corner case, so I don't think we need to get CI
running multiple runs in the future, and can just handle this on a case
by case basis. I'd be surprised if anyone else had this issue.
Change-Id: I57e2a03676bce20dc376fd9cea724732b2dc7010
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Diffstat (limited to 'include/gzip_helper.hpp')
-rw-r--r-- | include/gzip_helper.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gzip_helper.hpp b/include/gzip_helper.hpp index e577c1ffd1..e14fc1b50b 100644 --- a/include/gzip_helper.hpp +++ b/include/gzip_helper.hpp @@ -5,7 +5,7 @@ #include <string> inline bool gzipInflate(const std::string& compressedBytes, - std::string& uncompressedBytes) { + std::string& uncompressedBytes) { if (compressedBytes.empty()) { uncompressedBytes = compressedBytes; return true; |