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:
parent
c20874c28f
commit
9293f7072e
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user