Move some fmt related code and allow formatting of std::filesystem::path

This commit is contained in:
Georg Hagen
2025-02-11 22:02:25 +01:00
parent af9de9c2af
commit 09195153e0
4 changed files with 79 additions and 63 deletions

View File

@@ -6,17 +6,10 @@
#pragma once
#include "Extensions/FmtFormatter.hpp"
#include <imgui.h>
#include <string>
#if __has_include("fmt/format.h")
#include <fmt/format.h>
#elif __has_include("spdlog/fmt/fmt.h")
#include <spdlog/fmt/fmt.h>
#else
#error "Failed to find fmt include"
#endif
namespace ImGui
{
template <typename... Args>