* FS.cpp : add const to accessors

This commit is contained in:
hagen 2016-02-18 00:00:00 +00:00
parent 464a228106
commit 138d57143a
2 changed files with 4 additions and 4 deletions

2
FS.cpp
View file

@ -124,7 +124,7 @@ namespace fs {
return true;
}
std::string HashedStorage::Path(const std::string & ident) {
std::string HashedStorage::Path(const std::string & ident) const {
std::string safe_ident = ident;
std::replace(safe_ident.begin(), safe_ident.end(), '/', '-');
std::replace(safe_ident.begin(), safe_ident.end(), '\\', '-');