diff options
Diffstat (limited to 'node/Buffer.hpp')
-rw-r--r-- | node/Buffer.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/node/Buffer.hpp b/node/Buffer.hpp index b2f7a873..fe63eb2e 100644 --- a/node/Buffer.hpp +++ b/node/Buffer.hpp @@ -116,9 +116,9 @@ public: if (unlikely(b._l > C)) throw ZT_EXCEPTION_OUT_OF_BOUNDS; if (C2 == C) { - ZT_FAST_MEMCPY(this,&b,sizeof(Buffer<C>)); + memcpy(this,&b,sizeof(Buffer<C>)); } else { - ZT_FAST_MEMCPY(_b,b._b,_l = b._l); + memcpy(_b,b._b,_l = b._l); } return *this; } @@ -127,7 +127,7 @@ public: { if (unlikely(l > C)) throw ZT_EXCEPTION_OUT_OF_BOUNDS; - ZT_FAST_MEMCPY(_b,b,l); + memcpy(_b,b,l); _l = l; } @@ -281,7 +281,7 @@ public: { if (unlikely((_l + l) > C)) throw ZT_EXCEPTION_OUT_OF_BOUNDS; - ZT_FAST_MEMCPY(_b + _l,b,l); + memcpy(_b + _l,b,l); _l += l; } |