Change fmt include in debug_fmt.h
This commit is contained in:
@@ -13,6 +13,8 @@
|
|||||||
#include "../3rdparty/fmt/format.h"
|
#include "../3rdparty/fmt/format.h"
|
||||||
//#include "strong_typedef_type.hpp"
|
//#include "strong_typedef_type.hpp"
|
||||||
|
|
||||||
|
#include <type_traits>
|
||||||
|
|
||||||
template <typename E, typename Char>
|
template <typename E, typename Char>
|
||||||
struct fmt::formatter<E, Char, std::enable_if_t<std::is_enum<E>::value>> : fmt::formatter<typename std::underlying_type<E>::type> {
|
struct fmt::formatter<E, Char, std::enable_if_t<std::is_enum<E>::value>> : fmt::formatter<typename std::underlying_type<E>::type> {
|
||||||
using underlying_type = typename std::underlying_type<E>::type;
|
using underlying_type = typename std::underlying_type<E>::type;
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#define DEBUG_FMT_H
|
#define DEBUG_FMT_H
|
||||||
|
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#include "3rdparty/fmt/format.h"
|
#include "core/format.hpp"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Ouptut a line of debugging information.
|
* Ouptut a line of debugging information.
|
||||||
|
Reference in New Issue
Block a user