diff options
author | Ed Tanous <ed.tanous@intel.com> | 2018-05-22 15:27:24 -0700 |
---|---|---|
committer | Ed Tanous <ed.tanous@intel.com> | 2018-07-26 22:54:37 +0000 |
commit | 55c7b7a2e58779580f33046d2dd8649243776700 (patch) | |
tree | eed2d032dff3e18c4a8d4778e8f52ae5864620ee /include/webserver_common.hpp | |
parent | 1752c9657b56a6e1950d8725f44f4298c9872c63 (diff) | |
download | bmcweb-55c7b7a2e58779580f33046d2dd8649243776700.tar.gz bmcweb-55c7b7a2e58779580f33046d2dd8649243776700.zip |
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 <ed.tanous@intel.com>
Diffstat (limited to 'include/webserver_common.hpp')
-rw-r--r-- | include/webserver_common.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/webserver_common.hpp b/include/webserver_common.hpp index 4d88629..30b567c 100644 --- a/include/webserver_common.hpp +++ b/include/webserver_common.hpp @@ -20,6 +20,6 @@ #include "security_headers_middleware.hpp" #include "webserver_common.hpp" -using CrowApp = crow::App<crow::PersistentData::Middleware, - crow::TokenAuthorization::Middleware, +using CrowApp = crow::App<crow::persistent_data::Middleware, + crow::token_authorization::Middleware, crow::SecurityHeadersMiddleware>; |