Skip to content

Commit 2431efa

Browse files
cjd8nxpfrankli
authored andcommitted
Remove unnecessary constructor implementation
Mark constructor implementation as default when compiling on Linux, as the original version contained an unused vector::empty() call, causing compiler warnings. Signed-off-by: Joshua Crofts <joshua.crofts1@gmail.com>
1 parent 09b866a commit 2431efa

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

libuuu/http.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -377,10 +377,7 @@ HttpStream::~HttpStream()
377377

378378
#else
379379

380-
HttpStream::HttpStream()
381-
{
382-
m_buff.empty();
383-
}
380+
HttpStream::HttpStream() = default;
384381

385382
int HttpStream::SendPacket(char *buff, size_t sz)
386383
{

0 commit comments

Comments
 (0)