Consider following MRE:
class Segment { public: void update(); }; class Singleton { Singleton(); public: