Closed trygvis closed 7 years ago
Hi! I'd like to refer you to the Abstract Classes chapter in my Practical Guide to Bare Metal C++ e-book. You are probably using g++ as your compiler, which generates two destruction functions for classes with destructors declared as "virtual". One of them uses operator delete. I think it would be safe to stub the missing "operator delete()" function with empty body or some kind of assertion to make sure it is not called.
Ok, adding the function fixed it. Thanks!
With code similar to this:
I'm getting this error message:
which was kinda surprising given the name of the class. Am I using the class in a bad way or what am I missing?