Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cppbindings/CsCapstoneHelper.hh
Original file line number Diff line number Diff line change
Expand Up @@ -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<typename CsInsClassTemp_t>
Expand Down
2 changes: 1 addition & 1 deletion cppbindings/CsIns.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion cppbindings/X86Disasm.hh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "Disasm.hpp"
#include "CsIns.hpp"

using CX86InsClass = CCsIns<x86_insn_group, x86_reg, x86_op_type, x86_insn>;
typedef public CCsIns<x86_insn_group, x86_reg, x86_op_type, x86_insn> CX86InsClass;

class CX86Disasm64 :
public CCsDisasm<CX86InsClass>
Expand Down