tidy: concat namespaces
This commit is contained in:
parent
6f1b16146f
commit
7299c73e0e
3 changed files with 27 additions and 36 deletions
|
@ -2,19 +2,16 @@
|
|||
|
||||
#include <drogon/HttpFilter.h>
|
||||
using namespace drogon;
|
||||
namespace filters
|
||||
namespace filters::controllers
|
||||
{
|
||||
namespace controllers
|
||||
|
||||
class valid_json : public HttpFilter<valid_json>
|
||||
{
|
||||
public:
|
||||
valid_json() = default;
|
||||
void doFilter(const HttpRequestPtr &req,
|
||||
FilterCallback &&fcb,
|
||||
FilterChainCallback &&fccb) override;
|
||||
};
|
||||
|
||||
class valid_json : public HttpFilter<valid_json>
|
||||
{
|
||||
public:
|
||||
valid_json() = default;
|
||||
void doFilter(const HttpRequestPtr &req,
|
||||
FilterCallback &&fcb,
|
||||
FilterChainCallback &&fccb) override;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,19 +2,16 @@
|
|||
|
||||
#include <drogon/HttpFilter.h>
|
||||
using namespace drogon;
|
||||
namespace filters
|
||||
namespace filters::relays
|
||||
{
|
||||
namespace relays
|
||||
|
||||
class valid_json : public HttpFilter<valid_json>
|
||||
{
|
||||
public:
|
||||
valid_json() = default;
|
||||
void doFilter(const HttpRequestPtr &req,
|
||||
FilterCallback &&fcb,
|
||||
FilterChainCallback &&fccb) override;
|
||||
};
|
||||
|
||||
class valid_json : public HttpFilter<valid_json>
|
||||
{
|
||||
public:
|
||||
valid_json() = default;
|
||||
void doFilter(const HttpRequestPtr &req,
|
||||
FilterCallback &&fcb,
|
||||
FilterChainCallback &&fccb) override;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,19 +2,16 @@
|
|||
|
||||
#include <drogon/HttpFilter.h>
|
||||
using namespace drogon;
|
||||
namespace filters
|
||||
namespace filters::schedules
|
||||
{
|
||||
namespace schedules
|
||||
|
||||
class valid_json : public HttpFilter<valid_json>
|
||||
{
|
||||
public:
|
||||
valid_json() = default;
|
||||
void doFilter(const HttpRequestPtr &req,
|
||||
FilterCallback &&fcb,
|
||||
FilterChainCallback &&fccb) override;
|
||||
};
|
||||
|
||||
class valid_json : public HttpFilter<valid_json>
|
||||
{
|
||||
public:
|
||||
valid_json() = default;
|
||||
void doFilter(const HttpRequestPtr &req,
|
||||
FilterCallback &&fcb,
|
||||
FilterChainCallback &&fccb) override;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue