From 377e6e4ffff6a2e465630545ced5b3bacd7dabdf Mon Sep 17 00:00:00 2001 From: Dicebot Date: Fri, 22 Jul 2016 11:00:16 +0200 Subject: [PATCH] Make some of ModuleCache methods const-friendly --- src/dsymbol/modulecache.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dsymbol/modulecache.d b/src/dsymbol/modulecache.d index 48c73a7..ee91ae0 100644 --- a/src/dsymbol/modulecache.d +++ b/src/dsymbol/modulecache.d @@ -311,12 +311,12 @@ struct ModuleCache return alternatives.length > 0 ? internString(alternatives[0]) : istring(null); } - auto getImportPaths() + auto getImportPaths() const { return importPaths[]; } - auto getAllSymbols() + auto getAllSymbols() const { return cache[]; }