Use snake_case for Connection etc methods
This commit is contained in:
2
style.md
2
style.md
@@ -278,7 +278,7 @@ auto connection = Connection::createForServer(addr, fd, connection_id, handler,
|
||||
|
||||
// Friend-based factory for access control
|
||||
struct Connection {
|
||||
void appendMessage(std::string_view message_data);
|
||||
void append_message(std::string_view message_data);
|
||||
private:
|
||||
Connection(struct sockaddr_storage client_addr, int file_descriptor,
|
||||
int64_t connection_id, ConnectionHandler* request_handler,
|
||||
|
||||
Reference in New Issue
Block a user