Skip to content

const-correct IUpdateManagerSvc

Gerhard Raven requested to merge const-correct-IUpdateManagerSvc into master

add const to i_registerCondition's void* argument -- so that clients can register a dependency referring to (for them!) const objects, thus avoiding that they must interact with and/or have access to pointers to non-const instances of their dependencies (which they should typically not be able to modify!). Please note that this changes the interface, so any implementations have to be updated 'in sync'!

Edited by Gerhard Raven

Merge request reports

Loading