From 6a210c5ffcf2772966036e4440c49502c839695d Mon Sep 17 00:00:00 2001 From: Felix Petriconi Date: Wed, 12 Dec 2018 13:34:18 +0100 Subject: [PATCH] Correct findings from Coverty check --- .travis/patches/patch_std_variant.sh | 2 +- test/channel_tests.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis/patches/patch_std_variant.sh b/.travis/patches/patch_std_variant.sh index b858ec252..1f0a7bb08 100755 --- a/.travis/patches/patch_std_variant.sh +++ b/.travis/patches/patch_std_variant.sh @@ -1,6 +1,6 @@ #!/bin/bash -HERE=`pwd` +HERE=$(pwd) if [ ! -d /usr/lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/ ]; then echo "You must have a destination directory (gcc 7.3.0 includes) in order to patch!" diff --git a/test/channel_tests.cpp b/test/channel_tests.cpp index ecc6d30a0..d49daf47d 100755 --- a/test/channel_tests.cpp +++ b/test/channel_tests.cpp @@ -313,7 +313,7 @@ struct generator { int _value = 0; tuple _queues; - generator(T&... q) : _queues(q...) {} + explicit generator(T&... q) : _queues(q...) {} template void push_values(int value, index_sequence) {