Make everything struct, never use class

This commit is contained in:
Alex Hultman
2019-06-09 08:07:51 +02:00
parent 762b18459e
commit 996703dde6
10 changed files with 16 additions and 16 deletions
+3 -3
View File
@@ -35,14 +35,14 @@
namespace uWS {
template <class USERDATA>
class HttpRouter {
template <typename USERDATA>
struct HttpRouter {
private:
static const unsigned int MAX_URL_SEGMENTS = 100;
/* Basically a pre-allocated stack */
struct RouteParameters {
friend class HttpRouter;
friend struct HttpRouter;
private:
std::string_view params[MAX_URL_SEGMENTS];
int paramsTop;