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:
@@ -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
|
||||
|
||||
@@ -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());
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user