Skip to content
Snippets Groups Projects
Commit c09051df authored by Raphael Defosseux's avatar Raphael Defosseux
Browse files

style(pcf): some file were not formatted properly

parent 396b44ff
No related branches found
No related tags found
1 merge request!1Files not formatted and little dockerfiles modifications
......@@ -44,8 +44,8 @@ void SMPoliciesCollectionApi::setupRoutes() {
}
std::pair<Pistache::Http::Code, std::string>
SMPoliciesCollectionApi::handleParsingException(
const std::exception& ex) const noexcept {
SMPoliciesCollectionApi::handleParsingException(const std::exception& ex) const
noexcept {
try {
throw;
} catch (nlohmann::detail::exception& e) {
......
......@@ -29,8 +29,8 @@
enum access_type_e { ACESS_3GPP = 1, ACESS_NON_3GPP = 2 };
static const std::vector<std::string> access_type_e2str = {
"3GPP_ACCESS", "NON_3GPP_ACCESS"};
static const std::vector<std::string> access_type_e2str = {"3GPP_ACCESS",
"NON_3GPP_ACCESS"};
typedef struct sd_range_s {
std::string start;
......
......@@ -44,9 +44,9 @@
} while (0)
#define NIPADDR(addr) \
(uint8_t)(addr & 0x000000FF), (uint8_t) ((addr & 0x0000FF00) >> 8), \
(uint8_t) ((addr & 0x00FF0000) >> 16), \
(uint8_t) ((addr & 0xFF000000) >> 24)
(uint8_t)(addr & 0x000000FF), (uint8_t)((addr & 0x0000FF00) >> 8), \
(uint8_t)((addr & 0x00FF0000) >> 16), \
(uint8_t)((addr & 0xFF000000) >> 24)
#ifndef UNUSED
#define UNUSED(x) (void) (x)
......
......@@ -36,9 +36,9 @@
#define IN_ADDR_FMT "%u.%u.%u.%u"
#define PRI_IN_ADDR(aDDRESS) \
(uint8_t)((aDDRESS.s_addr) & 0x000000ff), \
(uint8_t) (((aDDRESS.s_addr) & 0x0000ff00) >> 8), \
(uint8_t) (((aDDRESS.s_addr) & 0x00ff0000) >> 16), \
(uint8_t) (((aDDRESS.s_addr) & 0xff000000) >> 24)
(uint8_t)(((aDDRESS.s_addr) & 0x0000ff00) >> 8), \
(uint8_t)(((aDDRESS.s_addr) & 0x00ff0000) >> 16), \
(uint8_t)(((aDDRESS.s_addr) & 0xff000000) >> 24)
#define IPV4_ADDR_DISPLAY_8(aDDRESS) \
(aDDRESS)[0], (aDDRESS)[1], (aDDRESS)[2], (aDDRESS)[3]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment