Codechange: fmt (and std::format) do explicitly not support enums out-of-the-box
That it works for the version we have packaged it pure coincidence, as that is one of the few versions that due to a bug allow it. So add the appropriate template specialisations to support it out-of-the-box within OpenTTD.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#define CONSOLE_FUNC_H
|
||||
|
||||
#include "console_type.h"
|
||||
#include "3rdparty/fmt/format.h"
|
||||
#include "core/format.hpp"
|
||||
|
||||
/* console modes */
|
||||
extern IConsoleModes _iconsole_mode;
|
||||
|
Reference in New Issue
Block a user