mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 20:43:44 +02:00
Build fixes.
This commit is contained in:
parent
55b0555aa0
commit
d603a73715
2 changed files with 2 additions and 2 deletions
|
@ -147,7 +147,7 @@ public:
|
||||||
{
|
{
|
||||||
Buf::Slice r;
|
Buf::Slice r;
|
||||||
|
|
||||||
typename FCV<Buf::Slice,FCVC>::const_iterator s(fcv.begin());
|
typename FCV<Buf::Slice,FCVC>::iterator s(fcv.begin());
|
||||||
unsigned int l = s->e - s->s;
|
unsigned int l = s->e - s->s;
|
||||||
if (l <= ZT_BUF_MEM_SIZE) {
|
if (l <= ZT_BUF_MEM_SIZE) {
|
||||||
r.b.move(s->b);
|
r.b.move(s->b);
|
||||||
|
|
|
@ -260,7 +260,7 @@ public:
|
||||||
// Slices are TriviallyCopyable and so may be memcpy'd from e->message to
|
// Slices are TriviallyCopyable and so may be memcpy'd from e->message to
|
||||||
// the result parameter. This is fast.
|
// the result parameter. This is fast.
|
||||||
e->message.unsafeMoveTo(message);
|
e->message.unsafeMoveTo(message);
|
||||||
e->message.lastUsed = -1; // mark as "done" and force GC to collect
|
e->lastUsed = -1; // mark as "done" and force GC to collect
|
||||||
|
|
||||||
return COMPLETE;
|
return COMPLETE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue