2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-09-06 00:37:26 +00:00

chore: update ZoneCodeGenerator code style

This commit is contained in:
Jan
2025-04-19 23:01:22 +02:00
parent 9f738da517
commit 9f8a933277
135 changed files with 4406 additions and 4299 deletions

View File

@@ -1,5 +1,6 @@
#include "NamespaceBuilder.h"
#include <format>
#include <sstream>
std::string NamespaceBuilder::Combine(const std::string& _namespace, const std::string& name)
@@ -7,10 +8,7 @@ std::string NamespaceBuilder::Combine(const std::string& _namespace, const std::
if (_namespace.empty())
return name;
std::ostringstream str;
str << _namespace << "::" << name;
return str.str();
return std::format("{}::{}", _namespace, name);
}
bool NamespaceBuilder::IsEmpty() const