From 9e8b5d3b7c7c8f25803e77dc3c3da3f1732f6226 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 30 May 2025 13:35:31 +0200 Subject: refactor: use STLString instead of std::string. Signed-off-by: Amlal El Mahrouss --- dev/LibCompiler/src/Backend/AssemblerAMD64.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dev/LibCompiler/src') diff --git a/dev/LibCompiler/src/Backend/AssemblerAMD64.cc b/dev/LibCompiler/src/Backend/AssemblerAMD64.cc index 6551743..3a717ba 100644 --- a/dev/LibCompiler/src/Backend/AssemblerAMD64.cc +++ b/dev/LibCompiler/src/Backend/AssemblerAMD64.cc @@ -21,6 +21,7 @@ ///////////////////////////////////////////////////////////////////////////////////////// +#include "LibCompiler/Defines.h" #ifndef __ASM_NEED_AMD64__ #define __ASM_NEED_AMD64__ 1 #endif @@ -955,7 +956,7 @@ bool LibCompiler::EncoderAMD64::WriteLine(std::string line, std::string file) { if (LibCompiler::find_word(line, "public_segment ")) return true; struct RegMapAMD64 { - std::string fName; + LibCompiler::STLString fName; i64_byte_t fModRM; }; -- cgit v1.2.3