bmeaut / grainautline

GrainAutLine: image processing for geology and material sciences
GNU General Public License v3.0
0 stars 2 forks source link

Increase protection of Blob2 internals #35

Closed csorbakristof closed 8 years ago

csorbakristof commented 9 years ago

Either make hlines and id const (loosing default copy and move ctors and operators), or make every method const. Ctor does not check the hlines sortedness: make the only HLine accepting ctor private, and the builder classes friends. (Maybe the Blob2Builder could use the StortedBuilder internally, so that only one friend is needed.)

csorbakristof commented 8 years ago

Longer term task, now closed.