From: Christoph Egger Date: Fri, 20 Feb 2015 16:35:49 +0000 (+0100) Subject: constify accessors in BasicBlock X-Git-Tag: v0.1~97 X-Git-Url: https://git.siccegge.de//index.cgi?a=commitdiff_plain;h=e0cd93e7500416f89786b6652a51976e3249e522;p=frida%2Ffrida.git constify accessors in BasicBlock --- diff --git a/src/core/BasicBlock.hxx b/src/core/BasicBlock.hxx index 9018b5b..4790b1c 100644 --- a/src/core/BasicBlock.hxx +++ b/src/core/BasicBlock.hxx @@ -45,13 +45,13 @@ public: end_address = address; } - std::string getName() { + std::string getName() const { std::stringstream s; s << "BLOCK_" << std::hex << start_address << '_' << end_address; return s.str(); } - Disassembler * getDisassembler() { + Disassembler * getDisassembler() const { return disassembler; }