C++ error: double free or corruption (fasttop)

You forgot to define operator= for your class. This is the rule of Big Three (copy ctor, dtor, assignment must all be defined).

Leave a Comment