From e72976ff55acf86d729d4295cd4804e87ea7556e Mon Sep 17 00:00:00 2001 From: ballessay Date: Thu, 13 Apr 2017 16:24:23 +0200 Subject: [PATCH] Move default parameter to h --- src/qrcore.cpp | 2 +- src/qrcore.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qrcore.cpp b/src/qrcore.cpp index 038a7ff4..7a80c767 100644 --- a/src/qrcore.cpp +++ b/src/qrcore.cpp @@ -702,7 +702,7 @@ void QRCore::setOptions(QString key) // anal plugin } -void QRCore::setCPU(QString arch, QString cpu, int bits, bool temporary = false) +void QRCore::setCPU(QString arch, QString cpu, int bits, bool temporary) { config("asm.arch", arch); config("asm.cpu", cpu); diff --git a/src/qrcore.h b/src/qrcore.h index 2190fe27..81c9becc 100644 --- a/src/qrcore.h +++ b/src/qrcore.h @@ -79,7 +79,7 @@ public: QString assemble(const QString &code); QString disassemble(const QString &hex); void setDefaultCPU(); - void setCPU(QString arch, QString cpu, int bits, bool temporary); + void setCPU(QString arch, QString cpu, int bits, bool temporary = false); RAnalFunction *functionAt(ut64 addr); QString cmdFunctionAt(QString addr); /* sdb */