diff options
author | Ed Tanous <ed@tanous.net> | 2020-10-03 18:06:26 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2020-10-23 18:03:17 +0300 |
commit | 04e438cbad66838724d78ce12f28aff1fb892a63 (patch) | |
tree | 8d8c42a8b3d3e9f8e10c108dd6273e8185d04530 /src | |
parent | dc511aa73001a593a16dbcdaa5d53f320e4c7818 (diff) | |
download | bmcweb-04e438cbad66838724d78ce12f28aff1fb892a63.tar.xz |
fix include names
cppcheck isn't smart enough to recognize these are c++ headers, not c
headers. Considering we're already inconsistent about our naming, it's
easier to just be consistent, and move the last few files to use .hpp
instead of .h.
Tested:
Code builds, no changes.
Signed-off-by: Ed Tanous <ed@tanous.net>
Change-Id: Ic348d695f8527fa4a0ded53f433e1558c319db40
Diffstat (limited to 'src')
-rw-r--r-- | src/crow_getroutes_test.cpp | 4 | ||||
-rw-r--r-- | src/security_headers_middleware_test.cpp | 3 | ||||
-rw-r--r-- | src/webassets_test.cpp | 3 | ||||
-rw-r--r-- | src/webserver_main.cpp | 2 |
4 files changed, 5 insertions, 7 deletions
diff --git a/src/crow_getroutes_test.cpp b/src/crow_getroutes_test.cpp index 20c14ea758..eea045c64c 100644 --- a/src/crow_getroutes_test.cpp +++ b/src/crow_getroutes_test.cpp @@ -1,4 +1,4 @@ -#include <app.h> +#include <app.hpp> #include "gmock/gmock.h" #include "gtest/gtest.h" @@ -44,4 +44,4 @@ TEST(GetRoutes, TestlotsOfRoutes) testing::Pointee(std::string("/baz")), testing::Pointee(std::string("/boo")), testing::Pointee(std::string("/moo")))); -}
\ No newline at end of file +} diff --git a/src/security_headers_middleware_test.cpp b/src/security_headers_middleware_test.cpp index 500839ad94..f5cd3d5a83 100644 --- a/src/security_headers_middleware_test.cpp +++ b/src/security_headers_middleware_test.cpp @@ -1,5 +1,4 @@ -#include <app.h> - +#include <app.hpp> #include <security_headers_middleware.hpp> #include <gmock/gmock.h> diff --git a/src/webassets_test.cpp b/src/webassets_test.cpp index 48dc398d1b..b182f46bd4 100644 --- a/src/webassets_test.cpp +++ b/src/webassets_test.cpp @@ -1,5 +1,4 @@ -#include <app.h> - +#include <app.hpp> #include <boost/algorithm/string/predicate.hpp> #include <boost/lexical_cast.hpp> #include <gzip_helper.hpp> diff --git a/src/webserver_main.cpp b/src/webserver_main.cpp index cd31152906..3e796c29e5 100644 --- a/src/webserver_main.cpp +++ b/src/webserver_main.cpp @@ -1,6 +1,6 @@ -#include <app.h> #include <systemd/sd-daemon.h> +#include <app.hpp> #include <boost/asio/io_context.hpp> #include <dbus_monitor.hpp> #include <dbus_singleton.hpp> |