Skip to content

Commit

Permalink
[core] Added IOVector constructor.
Browse files Browse the repository at this point in the history
Co-authored-by: Sektor van Skijlen <ethouris@gmail.com>
  • Loading branch information
maxsharabayko and ethouris committed Aug 13, 2024
1 parent f7b32e7 commit 430a67a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions srtcore/packet.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ class IOVector
#endif
{
public:
IOVector() { set(NULL, 0); }

inline void set(void* buffer, size_t length)
{
#ifdef _WIN32
Expand Down

0 comments on commit 430a67a

Please sign in to comment.