Stop using deprecated class VirtualFunction

2 jobs for remove-more-deprecated-function-stuff in 6 minutes and 21 seconds (queued for 2 seconds)
Status Name Job ID Coverage
  Test
passed dune:git clang C++17 #110420

00:04:22

passed dune:git gcc-8 C++17 #110421

00:06:21