[core] Layer::getPaintProperty() -> Layer::getProperty()

This commit is contained in:
Mikhail Pozdnyakov
2019-09-26 14:58:00 +03:00
parent 1733e29f0a
commit 34ab7be225
24 changed files with 29 additions and 29 deletions

View File

@@ -244,7 +244,7 @@ optional<Error> BackgroundLayer::setPaintProperty(const std::string& name, const
return Error{"layer doesn't support this property"};
}
StyleProperty BackgroundLayer::getPaintProperty(const std::string& name) const {
StyleProperty BackgroundLayer::getProperty(const std::string& name) const {
const auto it = paintProperties.find(name.c_str());
if (it == paintProperties.end()) {
return {};