[core] clang-tidy fixes
This commit is contained in:
@@ -45,7 +45,7 @@ void VectorSource::loadDescription(FileSource& fileSource) {
|
||||
return;
|
||||
}
|
||||
|
||||
const std::string& url = urlOrTileset.get<std::string>();
|
||||
const auto& url = urlOrTileset.get<std::string>();
|
||||
req = fileSource.request(Resource::source(url), [this, url](Response res) {
|
||||
if (res.error) {
|
||||
observer->onSourceError(*this, std::make_exception_ptr(std::runtime_error(res.error->message)));
|
||||
|
||||
Reference in New Issue
Block a user