mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-11 05:24:44 -04:00
Reformat
This commit is contained in:
parent
19c9d44690
commit
09c6002bc1
@ -8,11 +8,13 @@
|
||||
#include "tlib/net.hpp"
|
||||
#include "tlib/malloc.hpp"
|
||||
|
||||
tlib::packet::packet() : fd(0), payload(nullptr), index(0) {
|
||||
tlib::packet::packet()
|
||||
: fd(0), payload(nullptr), index(0) {
|
||||
//Nothing else to init
|
||||
}
|
||||
|
||||
tlib::packet::packet(packet&& rhs) : fd(rhs.fd), payload(rhs.payload), index(rhs.index) {
|
||||
tlib::packet::packet(packet&& rhs)
|
||||
: fd(rhs.fd), payload(rhs.payload), index(rhs.index) {
|
||||
rhs.payload = nullptr;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user