kevinbcarpenter / restful-with-billions

Repository for abstract and code related to a talk.
MIT License
20 stars 1 forks source link

class with destructor marked 'final' cannot be inherited from #4

Open oschonrock opened 11 months ago

oschonrock commented 11 months ago

clang-15 would like final.

/home/oliver/c/restful-with-billions/src/restful.h:14:14: error: class with destructor marked 'final' cannot be inherited from [-Werror,-Wfinal-dtor-non-final-class] ~Restful() final = default; ^ /home/oliver/c/restful-with-billions/src/restful.h:6:7: note: mark 'Restful' as 'final' to silence this warning class Restful : public App { ^

Pretty trivial. Do you want a pull request?