gcc warning fix

master
Daniel Kolesa 2017-11-10 20:11:58 +01:00
parent ec9ddb2aad
commit 1893f4b941
1 changed files with 2 additions and 0 deletions

View File

@ -404,6 +404,8 @@ private:
void open_full(
string_range cmd, InputRange1 args, InputRange2 env, bool use_path
) {
/* avoid false-positive warning with GCC */
static_cast<void>(env);
static_assert(
std::is_constructible_v<
string_range, range_reference_t<InputRange1>