mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 16:40:13 +02:00
remove getMapping call from AssetServer that is unused
This commit is contained in:
parent
4608eddb40
commit
c4845e5ae5
2 changed files with 0 additions and 7 deletions
|
@ -455,10 +455,6 @@ bool AssetServer::writeMappingsToFile() {
|
|||
return false;
|
||||
}
|
||||
|
||||
AssetHash AssetServer::getMapping(AssetPath path) {
|
||||
return _fileMappings.value(path).toString();
|
||||
}
|
||||
|
||||
bool AssetServer::setMapping(AssetPath path, AssetHash hash) {
|
||||
// remember what the old mapping was in case persistence fails
|
||||
auto oldMapping = _fileMappings.value(path).toString();
|
||||
|
|
|
@ -50,9 +50,6 @@ private:
|
|||
void loadMappingsFromFile();
|
||||
bool writeMappingsToFile();
|
||||
|
||||
/// Return the hash mapping for AssetPath `path`
|
||||
AssetHash getMapping(AssetPath path);
|
||||
|
||||
/// Set the mapping for path to hash
|
||||
bool setMapping(AssetPath path, AssetHash hash);
|
||||
|
||||
|
|
Loading…
Reference in a new issue