Fix decorator for certain sizes

This commit is contained in:
Vinnie Falco committed 2019-03-03 17:13:56 -08:00
1 parent 1e5b4f531d
commit 4eb137f8ea
3 files changed
+19 -1

No files matched your search

@@ -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>{}))
{
}