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:
@@ -55,12 +55,12 @@ public:
|
||||
return !m_tokens.empty() && m_pop_count < m_tokens.size() ? m_tokens[m_pop_count].GetPos() : m_eof.GetPos();
|
||||
}
|
||||
|
||||
_NODISCARD size_t GetPopCount() const
|
||||
[[nodiscard]] size_t GetPopCount() const
|
||||
{
|
||||
return m_pop_count;
|
||||
}
|
||||
|
||||
_NODISCARD ParserLine GetLineForPos(const TokenPos& pos) const override
|
||||
[[nodiscard]] ParserLine GetLineForPos(const TokenPos& pos) const override
|
||||
{
|
||||
return ParserLine();
|
||||
}
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "Parsing/IPackValueSupplier.h"
|
||||
#include "Utils/ClassUtils.h"
|
||||
|
||||
class MockPackValueSupplier final : public IPackValueSupplier
|
||||
{
|
||||
public:
|
||||
_NODISCARD int GetCurrentPack() const override;
|
||||
[[nodiscard]] int GetCurrentPack() const override;
|
||||
};
|
||||
|
||||
@@ -31,6 +31,6 @@ public:
|
||||
ParserLine NextLine() override;
|
||||
bool IncludeFile(const std::string& filename) override;
|
||||
void PopCurrentFile() override;
|
||||
_NODISCARD bool IsOpen() const override;
|
||||
_NODISCARD bool Eof() const override;
|
||||
[[nodiscard]] bool IsOpen() const override;
|
||||
[[nodiscard]] bool Eof() const override;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user