Skip to content

Commit

Permalink
SingleOperation::exportToPROJStringGeneric(): fix wrong test/copy-err…
Browse files Browse the repository at this point in the history
…or (master only)
  • Loading branch information
rouault committed Jan 16, 2024
1 parent dc8485e commit e8af247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iso19111/operation/singleoperation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4179,7 +4179,7 @@ bool SingleOperation::exportToPROJStringGeneric(

const auto vertDst =
dynamic_cast<const crs::VerticalCRS *>(targetCRS().get());
if (!vertSrc) {
if (!vertDst) {
throw io::FormattingException(concat(
"Can apply ", methodName, " only to a target VerticalCRS"));
}
Expand Down

0 comments on commit e8af247

Please sign in to comment.