From e0cd93e7500416f89786b6652a51976e3249e522 Mon Sep 17 00:00:00 2001 From: Christoph Egger Date: Fri, 20 Feb 2015 17:35:49 +0100 Subject: [PATCH] constify accessors in BasicBlock --- src/core/BasicBlock.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.5