tidy: concat namespaces

This commit is contained in:
Tobias Reisinger 2019-08-07 00:19:19 +02:00
parent 6f1b16146f
commit 7299c73e0e
3 changed files with 27 additions and 36 deletions

View file

@ -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;
};
}
}

View file

@ -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;
};
}
}

View file

@ -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;
};
}
}