Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fLoaderName is an object, not pointer to object #12397

Open
cholmcc opened this issue Dec 5, 2023 · 0 comments
Open

fLoaderName is an object, not pointer to object #12397

cholmcc opened this issue Dec 5, 2023 · 0 comments

Comments

@cholmcc
Copy link
Contributor

cholmcc commented Dec 5, 2023

FairGeoLoader* loader = new FairGeoLoader(fLoaderName->Data(), "Geo Loader");

FairRootSim::fLoaderName is an object, not pointer to object. Call should be replaced with

FairGeoLoader* loader = new FairGeoLoader(fLoaderName.Data(), "Geo Loader");

or perhaps

FairGeoLoader* loader = new FairGeoLoader(GetGeoModel()->Data(), "Geo Loader");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant