diff --git a/cppbindings/CsCapstoneHelper.hh b/cppbindings/CsCapstoneHelper.hh index daf7a73..e47b017 100644 --- a/cppbindings/CsCapstoneHelper.hh +++ b/cppbindings/CsCapstoneHelper.hh @@ -56,8 +56,8 @@ struct CS_INSN_HOLDER cs_free(m_csInstructions, Count); } - void operator=(CS_INSN_HOLDER const&) = delete; - CS_INSN_HOLDER(const CS_INSN_HOLDER &) = delete; + void operator=(CS_INSN_HOLDER const&) { }; + CS_INSN_HOLDER(const CS_INSN_HOLDER &) { }; protected: template diff --git a/cppbindings/CsIns.hpp b/cppbindings/CsIns.hpp index 6e8ba71..eb1d0fb 100644 --- a/cppbindings/CsIns.hpp +++ b/cppbindings/CsIns.hpp @@ -10,7 +10,7 @@ class CCsIns CS_HANDLE m_csh; cs_insn* m_ins; - void operator=(CCsIns const&) = delete; + void operator=(CCsIns const&) { }; //CCsIns(const CCsIns &) = delete;//==> must be kicked out in the future, and CS_HANDLE not shared_ptr .. need redesign ... public: CCsIns( diff --git a/cppbindings/X86Disasm.hh b/cppbindings/X86Disasm.hh index 17d05ea..f25d9ba 100644 --- a/cppbindings/X86Disasm.hh +++ b/cppbindings/X86Disasm.hh @@ -3,7 +3,7 @@ #include "Disasm.hpp" #include "CsIns.hpp" -using CX86InsClass = CCsIns; +typedef public CCsIns CX86InsClass; class CX86Disasm64 : public CCsDisasm