Use BOOST_STATIC_ASSERT

fix #380
This commit is contained in:
Vinnie Falco
2017-05-24 12:36:08 -07:00
parent 1b616fa1da
commit cd9f41b1a0
19 changed files with 142 additions and 203 deletions
+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_;
}