From 73fbbe0b8d199d2ee85e2cfaf4304689f4d6e6eb Mon Sep 17 00:00:00 2001 From: Christoph Egger Date: Fri, 20 Feb 2015 18:28:25 +0100 Subject: [PATCH] constify function in Function --- src/core/Function.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.2