]> git.siccegge.de Git - frida/frida.git/commitdiff
constify function in Function
authorChristoph Egger <Christoph.Egger@fau.de>
Fri, 20 Feb 2015 17:28:25 +0000 (18:28 +0100)
committerChristoph Egger <Christoph.Egger@fau.de>
Fri, 20 Feb 2015 17:28:25 +0000 (18:28 +0100)
src/core/Function.hxx

index 39d3f51b47cc39aab43c453f0cf3edc4b598b55f..aebfe8f8591e2b1174551f4a69b9bf9ae8ab0ecc 100644 (file)
@@ -31,7 +31,7 @@ public:
                _blocks.insert(std::make_pair(block->getStartAddress(), block));
        }
 
-       std::map<uint64_t, BasicBlock*>& blocks() {
+       const std::map<uint64_t, BasicBlock*>& blocks() {
                return _blocks;
        }
 private: