Suppress gcc warning on privates-only class (#2053)

Since gcc 9 it warns about is_streamable to have only private methods.
Add explicit default ctor instead of suppression
This commit is contained in:
Finkman
2020-12-09 15:55:17 +01:00
committed by GitHub
parent c20874c28f
commit 9293f7072e

View File

@ -85,6 +85,8 @@ template <typename T, typename Char> class is_streamable {
using result = decltype(test<T>(0));
public:
is_streamable() = default;
static const bool value = result::value;
};