mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-05 02:27:45 +00:00
Fix for a bogus MSVC warning (#244)
This commit is contained in:
parent
5c76d107cb
commit
ecd52bc610
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<>);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user