Skip to content
Permalink
Browse files
fix build
  • Loading branch information
elpaso authored and nyalldawson committed Nov 1, 2021
1 parent 286f8dd commit 0fabd28224e91d63cf8c9f6dd48bdf04fceefe01
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/raster/qgsrasterpipe.cpp
@@ -161,6 +161,8 @@ void QgsRasterPipe::unsetRole( QgsRasterInterface *interface )
{
Role role = interfaceRole( interface );
if ( role == UnknownRole ) return;

const int roleIdx{ mRoleMap[role] };
mRoleMap.remove( role );

// Decrease all indexes greater than the removed one

0 comments on commit 0fabd28

Please sign in to comment.