mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-28 05:09:44 +01:00
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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user