2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-01-19 23:11:50 +00:00

refactor: adjust template const modifiers

This commit is contained in:
Jan
2025-05-02 12:37:23 +01:00
parent 8b85cadb77
commit ed029bc24d
13 changed files with 70 additions and 73 deletions

View File

@@ -15,7 +15,7 @@ class BaseTemplate
protected:
static constexpr auto INTENDATION = " ";
BaseTemplate(std::ostream& stream, RenderingContext* context);
BaseTemplate(std::ostream& stream, const RenderingContext& context);
void DoIntendation() const;
@@ -41,7 +41,7 @@ protected:
static std::string MakeEvaluation(const IEvaluation* evaluation);
std::ostream& m_out;
RenderingContext& m_env;
const RenderingContext& m_env;
unsigned m_intendation;
private: