Refactor: Use perfect forwarding instead of copy constructor.

Status Job ID Name Coverage
  Build
passed #3148
build_cmake

00:23

 
  Test
failed #3149
run_tests

00:20

 
  Sanitizer
skipped #3151
run_address_sanitizer
skipped #3150
run_thread_sanitizer
 
Test run_tests
                                       ^
make[2]: *** [app/benchmark_unbalanced/CMakeFiles/benchmark_unbalanced.dir/main.cpp.o] Error 1
make[1]: *** [app/benchmark_unbalanced/CMakeFiles/benchmark_unbalanced.dir/all] Error 2
app/benchmark_unbalanced/CMakeFiles/benchmark_unbalanced.dir/build.make:62: recipe for target 'app/benchmark_unbalanced/CMakeFiles/benchmark_unbalanced.dir/main.cpp.o' failed
CMakeFiles/Makefile2:411: recipe for target 'app/benchmark_unbalanced/CMakeFiles/benchmark_unbalanced.dir/all' failed
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
./ci_scripts/run_tests.sh: line 9: ./bin/tests: No such file or directory
ERROR: Job failed: exit code 1