Fix decorator for certain sizes

This commit is contained in:
Vinnie Falco
2019-03-03 17:13:56 -08:00
parent 1e5b4f531d
commit 4eb137f8ea
3 changed files with 19 additions and 1 deletions
@@ -223,7 +223,7 @@ public:
decorator(F&& f)
: base_(construct(std::forward<F>(f),
std::integral_constant<bool,
sizeof(F) <= sizeof(buf_)>{}))
sizeof(F) <= Bytes>{}))
{
}