chriskohlhoff / asio

Asio C++ Library
http://think-async.com/Asio
4.72k stars 1.19k forks source link

Add C++11 override qualifiers to overridden virtual member functions #1469

Open cuavas opened 2 months ago

cuavas commented 2 months ago

This pull request adds override qualifiers to overridden virtual member functions in some headers. It’s by no means exhaustive, but it allows an application using TCP and UDP sockets to build cleanly with clang’s -Winconsistent-missing-override warning option and GCC’s -Wsuggest-override warning option.