feat: enforce no-RTTI type name registration with static_assert
This commit is contained in:
@@ -8,6 +8,8 @@ struct Endpoint: public PIHTTP::ServerEndpoint {
|
||||
PIHTTPServer::RequestFunction function;
|
||||
};
|
||||
|
||||
__PIP_TYPENAME_DECLARE(Endpoint)
|
||||
|
||||
|
||||
PRIVATE_DEFINITION_START(PIHTTPServer)
|
||||
PIMap<uint, PIVector<Endpoint>> endpoints;
|
||||
|
||||
Reference in New Issue
Block a user