forked from Dynamitos/Seele
Replacing std::format with fmt::format
This commit is contained in:
1 parent
c0da7d77a1
commit
861c146b46
55 files changed
+304
-186
No files matched your search
@@ -1,6 +1,7 @@
|
||||
#include "Vector.h"
|
||||
#include <regex>
|
||||
#include <format>
|
||||
#include <fmt/core.h>
|
||||
#include <sstream>
|
||||
#include <nlohmann/json.hpp>
|
||||
#include "Serialization/ArchiveBuffer.h"
|
||||
|
||||
@@ -8,7 +9,7 @@ using namespace Seele;
|
||||
|
||||
void to_json(nlohmann::json& j, const Vector& vec)
|
||||
{
|
||||
j = nlohmann::json{std::format("({}, {}, {})", vec.x, vec.y, vec.z)};
|
||||
j = nlohmann::json{fmt::format("({}, {}, {})", vec.x, vec.y, vec.z)};
|
||||
}
|
||||
|
||||
void from_json(const nlohmann::json& j, Vector& vec)
|
||||
|
||||
Reference in new issue
Block a user