[genericiterator] Unify constructors and fix compiler warning

9 jobs for cleanup/depr-ctor-warning in 7 minutes and 44 seconds (queued for 5 seconds)
latest
Status Job ID Name Coverage
  Test
passed #175906
duneci
debian-11-gcc-9-17-python

00:07:42

passed #175902
duneci
debian:10 clang-7-libcpp-17

00:02:48

passed #175900
duneci
debian:10 gcc-7-17

00:03:18

passed #175905
iset:avx duneci
debian:10 gcc-7-17--expensive

00:07:17

passed #175899
duneci
debian:10 gcc-8-noassert-17

00:04:12

failed #175898
duneci
debian:11 gcc-9-20

00:04:13

passed #175904
duneci
ubuntu:18.04 clang-5-17

00:02:43

passed #175903
duneci
ubuntu:18.04 clang-6-17

00:03:17

passed #175901
duneci
ubuntu:20.04 clang-10-20

00:02:45

 
Name Stage Failure
failed
debian:11 gcc-9-20 Test
--- Failed to build dune-common ---
Terminating dunecontrol due to previous errors!
+ exit 1
Uploading artifacts for failed job
Uploading artifacts...
junit/*.xml: found 1 matching files and directories

Uploading artifacts as "junit" to coordinator... ok
id=175898 responseStatus=201 Created token=ejb7fKjs
Cleaning up file based variables
ERROR: Job failed: exit code 1