Use references instead of pointers whenver possible

This commit is contained in:
Thomas Basler
2023-12-12 13:26:07 +01:00
parent 8fb43fedf8
commit e95afbf2cc
103 changed files with 305 additions and 302 deletions

View File

@@ -11,7 +11,7 @@
class MessageOutputClass : public Print {
public:
void init(Scheduler* scheduler);
void init(Scheduler& scheduler);
size_t write(uint8_t c) override;
size_t write(const uint8_t* buffer, size_t size) override;
void register_ws_output(AsyncWebSocket* output);