Skip to content

Commit ec02203

Browse files
committed
cosmetic
1 parent db8b472 commit ec02203

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

worker/include/RTC/SCTP/packet/Packet.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ namespace RTC
7070
static const size_t CommonHeaderLength{ 12 };
7171

7272
/**
73-
* Parse a SCTP packet.
73+
* Parse a SCTP Packet.
7474
*
7575
* @remarks
7676
* `bufferLength` must be the exact length of the Packet.

worker/include/RTC/Serializable.hpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,7 @@ namespace RTC
3333
* - Always use `GetLength()` to obtain the exact length of the
3434
* Serializable.
3535
*/
36-
Serializable(const uint8_t* buffer, size_t bufferLength)
37-
: buffer(const_cast<uint8_t*>(buffer)), bufferLength(bufferLength)
38-
{
39-
}
36+
Serializable(const uint8_t* buffer, size_t bufferLength);
4037

4138
virtual ~Serializable() = default;
4239

worker/test/include/RTC/SCTP/common.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef MS_TEST_RTC_SCTP_CHUNKS_COMMON_HPP
2-
#define MS_TEST_RTC_SCTP_CHUNKS_COMMON_HPP
1+
#ifndef MS_TEST_RTC_SCTP_COMMON_HPP
2+
#define MS_TEST_RTC_SCTP_COMMON_HPP
33

44
#include "common.hpp"
55
#include "MediaSoupErrors.hpp" // IWYU pragma: export

0 commit comments

Comments
 (0)