2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-05-26 19:41:43 +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
@@ -29,6 +29,6 @@ public:
ICodeTemplate& operator=(const ICodeTemplate& other) = default;
ICodeTemplate& operator=(ICodeTemplate&& other) noexcept = default;
virtual std::vector<CodeTemplateFile> GetFilesToRender(RenderingContext* context) = 0;
virtual void RenderFile(std::ostream& stream, int fileTag, RenderingContext* context) = 0;
virtual std::vector<CodeTemplateFile> GetFilesToRender(const RenderingContext& context) = 0;
virtual void RenderFile(std::ostream& stream, int fileTag, const RenderingContext& context) = 0;
};