| 918 | this->imageAliases[name] = value; |
| 919 | } |
| 920 | void DataImpl::addImageSetAlias(const UString &name, const UString &value) |
| 921 | { |
| 922 | std::lock_guard<std::recursive_mutex> l(this->imageSetCacheLock); |
| 923 | LogAssert(name != value); |
| 924 | auto current = this->imageSetAliases.find(name); |
| 925 | if (current != this->imageSetAliases.end() && current->second != value) |
| 926 | { |
| 927 | LogWarning("Replacing alias \"%s\" - was \"%s\" now \"%s\"", name, current->second, value); |
| 928 | } |
| 929 | this->imageSetAliases[name] = value; |
| 930 | } |
| 931 | void DataImpl::addPaletteAlias(const UString &name, const UString &value) |
| 932 | { |
| 933 | std::lock_guard<std::recursive_mutex> l(this->paletteCacheLock); |