From a2b6942f6182df55634ac52a3c896ed05e200f4a Mon Sep 17 00:00:00 2001 From: Richard Russo Date: Tue, 17 Sep 2024 14:55:50 -0700 Subject: [PATCH] fix lint --- src/client++/TurnMsgLib.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/client++/TurnMsgLib.h b/src/client++/TurnMsgLib.h index 18475e0ed..37bf5b27d 100644 --- a/src/client++/TurnMsgLib.h +++ b/src/client++/TurnMsgLib.h @@ -731,7 +731,7 @@ class StunMsg { */ class StunMsgRequest : public StunMsg { public: - StunMsgRequest(uint16_t method) : _method(method) {}; + StunMsgRequest(uint16_t method) : _method(method){}; StunMsgRequest(uint8_t *buffer, size_t total_sz, size_t sz, bool constructed) : StunMsg(buffer, total_sz, sz, constructed), _method(0) { @@ -804,11 +804,11 @@ class StunMsgRequest : public StunMsg { */ class StunMsgResponse : public StunMsg { public: - StunMsgResponse(uint16_t method, stun_tid &tid) : _method(method), _err(0), _reason(""), _tid(tid) {}; + StunMsgResponse(uint16_t method, stun_tid &tid) : _method(method), _err(0), _reason(""), _tid(tid){}; StunMsgResponse(uint16_t method, int error_code, std::string reason, stun_tid &tid) - : _method(method), _err(error_code), _reason(reason), _tid(tid) { + : _method(method), _err(error_code), _reason(reason), _tid(tid){ - }; + }; StunMsgResponse(uint8_t *buffer, size_t total_sz, size_t sz, bool constructed) : StunMsg(buffer, total_sz, sz, constructed), _method(0), _err(0), _reason("") { @@ -960,7 +960,7 @@ class StunMsgResponse : public StunMsg { */ class StunMsgIndication : public StunMsg { public: - StunMsgIndication(uint16_t method) : _method(method) {}; + StunMsgIndication(uint16_t method) : _method(method){}; StunMsgIndication(uint8_t *buffer, size_t total_sz, size_t sz, bool constructed) : StunMsg(buffer, total_sz, sz, constructed), _method(0) { @@ -1005,7 +1005,7 @@ class StunMsgIndication : public StunMsg { */ class StunMsgChannel : public StunMsg { public: - StunMsgChannel(uint16_t cn, int length) : _cn(cn), _len(length) {}; + StunMsgChannel(uint16_t cn, int length) : _cn(cn), _len(length){}; StunMsgChannel(uint8_t *buffer, size_t total_sz, size_t sz, bool constructed) : StunMsg(buffer, total_sz, sz, constructed), _cn(0) {