Skip to content

Make 'size' return the same type as 'IndexSet::size'

Oliver Sander requested to merge introduce-mcmgmapper-size-type into master

Previously, the MCMGMapper class had 'int' hard-coded as the return type of the 'size' method. This method changes it to whatever the underlying IndexSet is using for its 'size' method. I think this should settle the infamous 'signed-vs.-unsigned' discussion at least for this method.

Additionally, the new type is exported as 'size_type'.

Merge request reports

Loading