Skip to content

Commit

Permalink
Merge pull request #12 from Dicebot/const-cache
Browse files Browse the repository at this point in the history
Make some of ModuleCache methods const-friendly
  • Loading branch information
Hackerpilot authored Jul 22, 2016
2 parents 59d1c26 + 377e6e4 commit 1faaa87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dsymbol/modulecache.d
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
}
Expand Down

0 comments on commit 1faaa87

Please sign in to comment.