From 1349c00b782eca3ea841bfa388301cb6fc908cc7 Mon Sep 17 00:00:00 2001 From: Roland Reichwein <mail@reichwein.it> Date: Sun, 18 Oct 2020 20:39:56 +0200 Subject: Namespace Asm --- asm/intel64/int.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'asm/intel64/int.cpp') diff --git a/asm/intel64/int.cpp b/asm/intel64/int.cpp index a7df338..de6c73b 100644 --- a/asm/intel64/int.cpp +++ b/asm/intel64/int.cpp @@ -2,11 +2,11 @@ #include <asm/assembler.h> -Op_int::Op_int(AsmArgs& args) +Op_int::Op_int(Asm::Args& args) { // At this point, the registration already ensured the number and types of args - AsmArgs::Immediate8 i {std::any_cast<AsmArgs::Immediate8>(args[0])}; + Asm::Args::Immediate8 i {std::any_cast<Asm::Args::Immediate8>(args[0])}; if (i.value() == 0) { // INT 0 machine_code = { 0xCE }; @@ -21,7 +21,7 @@ Op_int::Op_int(AsmArgs& args) namespace { -bool registered { registerOp(mangleName<AsmArgs::Immediate8>("int"), [](AsmArgs& args) -> std::shared_ptr<Op>{ +bool registered { registerOp(mangleName<Asm::Args::Immediate8>("int"), [](Asm::Args& args) -> std::shared_ptr<Op>{ return std::make_shared<Op_int>(args); }) }; -- cgit v1.2.3