X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FPacketImpl.hh;h=667eebb151ec9e237711d89891ac433b4b6109a9;hb=64a21c02b81501982ba4406ea69a388825c23057;hp=ea76bd60a5cb4cb3270dbdc1e6f916ab4d6a4e92;hpb=fe283e18667bee3034543fc2170177df9d3e8ee8;p=senf.git diff --git a/Packets/PacketImpl.hh b/Packets/PacketImpl.hh index ea76bd6..667eebb 100644 --- a/Packets/PacketImpl.hh +++ b/Packets/PacketImpl.hh @@ -31,7 +31,8 @@ #include #include #include -#include +#include +#include #include #include "../Utils/pool_alloc_mixin.hh" #include "PacketTypes.hh" @@ -98,7 +99,9 @@ namespace detail { # ifdef BOOST_HAS_TYPE_TRAITS_INTRINSICS - BOOST_STATIC_ASSERT(( boost::is_pod::value || Complex )); + BOOST_STATIC_ASSERT(( (boost::has_trivial_constructor::value + && boost::has_trivial_destructor::value) + || Complex )); # endif };