From 3c098b80155a4b61134dc3b3de5bdbc08855fc2f Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Mon, 22 Oct 2018 14:55:08 +0200 Subject: code refactoring #1 Signed-off-by: Toni Uhlig --- aoe2hd/include/CodeGenerator.h | 1 + 1 file changed, 1 insertion(+) (limited to 'aoe2hd/include/CodeGenerator.h') diff --git a/aoe2hd/include/CodeGenerator.h b/aoe2hd/include/CodeGenerator.h index e0649dd..2d97d86 100755 --- a/aoe2hd/include/CodeGenerator.h +++ b/aoe2hd/include/CodeGenerator.h @@ -21,6 +21,7 @@ public: } bool hasCode(int index); CodeGenerator& addCode(const std::vector& code); + CodeGenerator& addCode(const std::string& code); CodeGenerator& setCode(int index, const std::vector& code); CodeGenerator& setCodeSized(int index, const std::vector& code); CodeGenerator& setRel32JMP(int index, unsigned long dst, unsigned long src, bool reversed = false); -- cgit v1.2.3