3rdparty/fmt: Work around RTTI being disabled

This commit is contained in:
Stenzek 2024-06-10 16:32:39 +10:00 committed by Connor McLaughlin
parent 226a02a770
commit 5ee751326a
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ auto get_file(std::filebuf&) -> FILE*;
inline auto write_ostream_unicode(std::ostream& os, fmt::string_view data)
-> bool {
FILE* f = nullptr;
#if FMT_MSC_VERSION
#if FMT_MSC_VERSION && false
if (auto* buf = dynamic_cast<std::filebuf*>(os.rdbuf()))
f = get_file(*buf);
else