2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-03-07 05:23:02 +00:00

chore: replace all usages of removed ClassUtils macros

This commit is contained in:
Jan Laupetin
2026-03-05 22:31:07 +00:00
parent bc16febfe2
commit 90d7f92ddd
104 changed files with 244 additions and 405 deletions

View File

@@ -5,7 +5,6 @@
#include "Parsing/Simple/SimpleParserValue.h"
#include "StructuredDataDef/CommonStructuredDataDef.h"
#include "StructuredDataDefParserState.h"
#include "Utils/ClassUtils.h"
namespace sdd
{
@@ -24,6 +23,6 @@ namespace sdd
public:
explicit StructuredDataDefParser(SimpleLexer* lexer);
_NODISCARD std::vector<std::unique_ptr<CommonStructuredDataDef>> GetDefs() const;
[[nodiscard]] std::vector<std::unique_ptr<CommonStructuredDataDef>> GetDefs() const;
};
} // namespace sdd

View File

@@ -1,7 +1,6 @@
#include "StructuredDataDefSizeCalculator.h"
#include "Utils/Alignment.h"
#include "Utils/ClassUtils.h"
#include <cassert>
#include <sstream>
@@ -32,7 +31,7 @@ class StructuredDataDefSizeCalculatorInternal
std::vector<bool> m_indexed_array_calculated;
std::vector<bool> m_enumed_array_calculated;
_NORETURN void ThrowCircularDependencyException(const size_t structIndex) const
[[noreturn]] void ThrowCircularDependencyException(const size_t structIndex) const
{
assert(structIndex < m_def.m_structs.size());

View File

@@ -1,7 +1,6 @@
#pragma once
#include "StructuredDataDef/CommonStructuredDataDef.h"
#include "Utils/ClassUtils.h"
#include <exception>
#include <string>
@@ -15,8 +14,8 @@ namespace sdd
public:
explicit SizeCalculationException(std::string message);
_NODISCARD const std::string& Message() const;
_NODISCARD char const* what() const noexcept override;
[[nodiscard]] const std::string& Message() const;
[[nodiscard]] char const* what() const noexcept override;
};
class StructuredDataDefSizeCalculator