[core] Fix misc-* errors

As reported by clang-tidy-8.
This commit is contained in:
Thiago Marcos P. Santos
2020-03-27 18:30:35 +02:00
parent 94d1c10727
commit 1c5e0ee31e
4 changed files with 4 additions and 5 deletions

View File

@@ -315,7 +315,7 @@ NodeMap::RenderOptions NodeMap::ParseOptions(v8::Local<v8::Object> obj) {
if (auto light = mbgl::style::conversion::convert<mbgl::style::Light>(lightObj, conversionError)) {
options.light = *light;
} else {
throw conversionError;
throw std::move(conversionError);
}
}