mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 02:37:36 +02:00
Fix for a bogus MSVC warning (#244)
This commit is contained in:
1
format.h
1
format.h
@ -976,6 +976,7 @@ template <typename T>
|
|||||||
T &get();
|
T &get();
|
||||||
|
|
||||||
struct DummyStream : std::ostream {
|
struct DummyStream : std::ostream {
|
||||||
|
DummyStream(); // Suppress a bogus warning in MSVC.
|
||||||
// Hide all operator<< overloads from std::ostream.
|
// Hide all operator<< overloads from std::ostream.
|
||||||
void operator<<(Null<>);
|
void operator<<(Null<>);
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user