Skip to content

Commit

Permalink
Indentiation
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkvdb committed Oct 15, 2024
1 parent c8b641e commit 941a07b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gdal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,9 @@ Layer VectorDataSet::layer(int index)
Layer VectorDataSet::layer(const std::string& name)
{
assert(_ptr);
return Layer(check_pointer_msg_cb(_ptr->GetLayerByName(name.c_str()), [&]() { return fmt::format("Invalid layer name: {}", name); }));
return Layer(check_pointer_msg_cb(_ptr->GetLayerByName(name.c_str()), [&]() {
return fmt::format("Invalid layer name: {}", name);
}));
}

bool VectorDataSet::layer_exists(const std::string& name) const noexcept
Expand Down

0 comments on commit 941a07b

Please sign in to comment.