Hi @enielsen!
Function pointers don’t work well with ROOT IO. You should exclude the relevant data members from the IO by adding the special //!
comment, which you probably don’t use anyway:
class Test {
...
private:
std::map<A,testFunc> mp; //!
};
I hope this helps!
Cheers,
Jonas