Skip to content

Commit

Permalink
Fix two compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Nov 26, 2023
1 parent eb19f93 commit 02fec20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sio/src/api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ namespace sio {
device.data( info._data_length ) ;
device.data( info._uncompressed_length ) ;
// get back the buffer
rec_buf = std::move( device.take_buffer() ) ;
rec_buf = device.take_buffer() ;
rec_buf.resize( end_pos ) ;
return info ;
}
Expand Down
1 change: 1 addition & 0 deletions src/cpp/include/IMPL/AccessChecked.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ namespace IMPL {

public:
AccessChecked() ;
AccessChecked(const AccessChecked&) = default;
virtual ~AccessChecked() = default;
virtual int simpleUID() const { return _id ; }

Expand Down

0 comments on commit 02fec20

Please sign in to comment.