mirror of https://github.com/PCSX2/pcsx2.git
3rdparty/fmt: Work around RTTI being disabled
This commit is contained in:
parent
226a02a770
commit
5ee751326a
|
@ -73,7 +73,7 @@ auto get_file(std::filebuf&) -> FILE*;
|
||||||
inline auto write_ostream_unicode(std::ostream& os, fmt::string_view data)
|
inline auto write_ostream_unicode(std::ostream& os, fmt::string_view data)
|
||||||
-> bool {
|
-> bool {
|
||||||
FILE* f = nullptr;
|
FILE* f = nullptr;
|
||||||
#if FMT_MSC_VERSION
|
#if FMT_MSC_VERSION && false
|
||||||
if (auto* buf = dynamic_cast<std::filebuf*>(os.rdbuf()))
|
if (auto* buf = dynamic_cast<std::filebuf*>(os.rdbuf()))
|
||||||
f = get_file(*buf);
|
f = get_file(*buf);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue