[util] Remove unneeded virtual
authorBehdad Esfahbod <behdad@behdad.org>
Sun, 30 Sep 2018 10:23:01 +0000 (12:23 +0200)
committerBehdad Esfahbod <behdad@behdad.org>
Sun, 30 Sep 2018 10:23:01 +0000 (12:23 +0200)
commitb5285b34798cb7ee672343d00cbe066ea8a2ef83
tree571bdae92180b950226e9b9c80123bda91aa55d8
parent89ed040b21b366c927199bedd0e4cb060389d076
[util] Remove unneeded virtual

clang warning:

../../util/options.hh:72:13: warning: destination for this 'memset' call is a pointer to dynamic class
      'option_parser_t'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
    memset (this, 0, sizeof (*this));
    ~~~~~~  ^
../../util/options.hh:72:13: note: explicitly cast the pointer to silence this warning
    memset (this, 0, sizeof (*this));
            ^
            (void*)
util/options.hh