svn commit: r328430 - head/sbin/devd

Ed Schouten ed at nuxi.nl
Fri Jan 26 07:02:38 UTC 2018


2018-01-26 5:52 GMT+01:00 Warner Losh <imp at bsdimp.com>:
> Everything needs a virtual destructor...  Please back that part of this
> out...

If you're concerned about inheritance, what about adding the 'final'
keyword to the class?

http://en.cppreference.com/w/cpp/language/final

Eitan:

static void usage(void) __dead2;

This should be spelled:

[[noreturn]] static void usage();

-- 
Ed Schouten <ed at nuxi.nl>
Nuxi, 's-Hertogenbosch, the Netherlands


More information about the svn-src-all mailing list