mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
* FS.cpp : add const to accessors
This commit is contained in:
parent
464a228106
commit
138d57143a
2 changed files with 4 additions and 4 deletions
2
FS.cpp
2
FS.cpp
|
@ -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(), '\\', '-');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue