fix: linux build

This commit is contained in:
Jan 2024-08-12 23:29:11 +02:00
parent 01c284fb37
commit f35a2f33ff
No known key found for this signature in database
GPG Key ID: 44B581F78FF5C57C
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
#include "XModel/Gltf/GltfConstants.h" #include "XModel/Gltf/GltfConstants.h"
#include <exception> #include <exception>
#include <format>
#include <iostream> #include <iostream>
#include <nlohmann/json.hpp> #include <nlohmann/json.hpp>

View File

@ -72,7 +72,7 @@ namespace
return m_message; return m_message;
} }
[[nodiscard]] const char* what() const override [[nodiscard]] const char* what() const noexcept override
{ {
return m_message.c_str(); return m_message.c_str();
} }