Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 893 vs 993 for /trunk/Source Code/Core/ByteBuffer.cpp

Diff revisions: vs.
  @@ -26,7 +26,7 @@
26 26 _size);
27 27 }
28 28
29 - ByteBuffer::ByteBuffer() : ByteBuffer(DEFAULT_SIZE)
29 + ByteBuffer::ByteBuffer() noexcept : ByteBuffer(DEFAULT_SIZE)
30 30 {
31 31 }
32 32
  @@ -36,21 +36,7 @@
36 36 _storage.reserve(res);
37 37 }
38 38
39 - // copy constructor
40 - ByteBuffer::ByteBuffer(const ByteBuffer &buf)
41 - : _rpos(buf._rpos), _wpos(buf._wpos), _storage(buf._storage)
42 - {
43 - }
44 -
45 - ByteBuffer& ByteBuffer::operator=(const ByteBuffer &buf) {
46 - _rpos = buf._rpos;
47 - _wpos = buf._rpos;
48 - _storage = buf._storage;
49 -
50 - return *this;
51 - }
52 -
53 - void ByteBuffer::clear() {
39 + void ByteBuffer::clear() noexcept {
54 40 _storage.clear();
55 41 _rpos = _wpos = 0;
56 42 }