From 55c7b7a2e58779580f33046d2dd8649243776700 Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Tue, 22 May 2018 15:27:24 -0700 Subject: Move over to upstream c++ style This patchset moves bmcweb over to the upstream style naming conventions for variables, classes, and functions, as well as imposes the latest clang-format file. This changeset was mostly built automatically by the included .clang-tidy file, which has the ability to autoformat and auto rename variables. At some point in the future I would like to see this in greater use, but for now, we will impose it on bmcweb, and see how it goes. Tested: Code still compiles, and appears to run, although other issues are possible and likely. Change-Id: If422a2e36df924e897736b3feffa89f411d9dac1 Signed-off-by: Ed Tanous --- include/gzip_helper.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/gzip_helper.hpp') diff --git a/include/gzip_helper.hpp b/include/gzip_helper.hpp index 9b7d253a25..e577c1ffd1 100644 --- a/include/gzip_helper.hpp +++ b/include/gzip_helper.hpp @@ -4,8 +4,8 @@ #include #include -inline bool gzip_inflate(const std::string& compressedBytes, - std::string& uncompressedBytes) { +inline bool gzipInflate(const std::string& compressedBytes, + std::string& uncompressedBytes) { if (compressedBytes.empty()) { uncompressedBytes = compressedBytes; return true; -- cgit v1.2.3