[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

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