Skip to content

ILayerBuilderCond does not need to return the new Layers it creates as const

ILayerBuilderCond creates new Layers which then pass on,acts as a "factory". These new Layers do not need to be const. Being const unneedlessy leads down the chain to uneeded const_cast (Explicit or implicit) and other syntactic or actual issues.

ping @rlangenb as we discussed this , note that I do this only for the "cond" tools , I assume the older legacy non condition tools used by the svc will be eventually removed.

Merge request reports