From: Christoph Egger Date: Fri, 20 Feb 2015 17:28:25 +0000 (+0100) Subject: constify function in Function X-Git-Tag: v0.1~92 X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=commitdiff_plain;h=73fbbe0b8d199d2ee85e2cfaf4304689f4d6e6eb constify function in Function --- diff --git a/src/core/Function.hxx b/src/core/Function.hxx index 39d3f51..aebfe8f 100644 --- a/src/core/Function.hxx +++ b/src/core/Function.hxx @@ -31,7 +31,7 @@ public: _blocks.insert(std::make_pair(block->getStartAddress(), block)); } - std::map& blocks() { + const std::map& blocks() { return _blocks; } private: