remove getMapping call from AssetServer that is unused

This commit is contained in:
Stephen Birarda 2016-03-08 11:50:23 -08:00
parent 4608eddb40
commit c4845e5ae5
2 changed files with 0 additions and 7 deletions

View file

@ -455,10 +455,6 @@ bool AssetServer::writeMappingsToFile() {
return false; return false;
} }
AssetHash AssetServer::getMapping(AssetPath path) {
return _fileMappings.value(path).toString();
}
bool AssetServer::setMapping(AssetPath path, AssetHash hash) { bool AssetServer::setMapping(AssetPath path, AssetHash hash) {
// remember what the old mapping was in case persistence fails // remember what the old mapping was in case persistence fails
auto oldMapping = _fileMappings.value(path).toString(); auto oldMapping = _fileMappings.value(path).toString();

View file

@ -50,9 +50,6 @@ private:
void loadMappingsFromFile(); void loadMappingsFromFile();
bool writeMappingsToFile(); bool writeMappingsToFile();
/// Return the hash mapping for AssetPath `path`
AssetHash getMapping(AssetPath path);
/// Set the mapping for path to hash /// Set the mapping for path to hash
bool setMapping(AssetPath path, AssetHash hash); bool setMapping(AssetPath path, AssetHash hash);