Skip to content

A public field with a "private" type in the TFileMergeInfo class #20572

@grasph

Description

@grasph

Explain what you would like to see improved and how.

The field fIOFeatures of TFileMergeInfo is public while its type is defined as a private alias.

In my opinion for consistency, if fIOFeatures needs to be public, then the explicit public type ROOT::TIOFeatures should be use or the alias must be made public.

I've found this, while running WrapIt that generated a function returning ROOT::TIOFeatures. The generated code is not valid as this alias is private.

ROOT version

E.g. 6.32.08 or github master HEAD

Installation method

N/A

Operating system

N/A

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions