Skip to content

Commit

Permalink
viewshed_executor.cpp: use correct mutex
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Sep 17, 2024
1 parent 2742d2b commit 262ffc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alg/viewshed/viewshed_executor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ ViewshedExecutor::ViewshedExecutor(GDALRasterBand &srcBand,
// calculate the height adjustment factor.
double ViewshedExecutor::calcHeightAdjFactor()
{
std::lock_guard g(iMutex);
std::lock_guard g(oMutex);

const OGRSpatialReference *poDstSRS =
m_dstBand.GetDataset()->GetSpatialRef();
Expand Down

0 comments on commit 262ffc2

Please sign in to comment.