Loading src/connection.h +2 −2 Changes for src/connection.h: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -105,12 +105,12 @@ namespace netplus { } // initialize elements of allocated storage p with value value void construct (pointer p, const T& value) { void construct (pointer p, const T& value) noexcept { // or throw() new((void*)p)T(value); } // destroy elements of initialized storage p void destroy (pointer p) { void destroy (pointer p) noexcept{ p->~T(); } Loading Loading
src/connection.h +2 −2 Changes for src/connection.h: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -105,12 +105,12 @@ namespace netplus { } // initialize elements of allocated storage p with value value void construct (pointer p, const T& value) { void construct (pointer p, const T& value) noexcept { // or throw() new((void*)p)T(value); } // destroy elements of initialized storage p void destroy (pointer p) { void destroy (pointer p) noexcept{ p->~T(); } Loading