Use BOOST_STATIC_ASSERT

fix #380
This commit is contained in:
Vinnie Falco committed 2017-07-20 08:12:17 -07:00
1 parent 02033c7412
commit 24fd5ec8af
19 files changed
+142 -203

No files matched your search

+2 -2
View File
@@ -458,7 +458,7 @@ public:
body() const
{
// This function not available when isDirect==true
static_assert(! isDirect, "");
BOOST_STATIC_ASSERT(! isDirect);
return body_;
}
@@ -476,7 +476,7 @@ public:
chunk_extension() const
{
// This function not available when isDirect==true
static_assert(! isDirect, "");
BOOST_STATIC_ASSERT(! isDirect);
return ext_;
}