mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-10 13:04:53 -04:00
Reformat
This commit is contained in:
parent
19c9d44690
commit
09c6002bc1
@ -8,11 +8,13 @@
|
|||||||
#include "tlib/net.hpp"
|
#include "tlib/net.hpp"
|
||||||
#include "tlib/malloc.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
|
//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;
|
rhs.payload = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user