From 658819bb71553ed82425cf75aa72a92355f4518c Mon Sep 17 00:00:00 2001 From: Geza Lore Date: Wed, 13 Jul 2022 16:01:03 +0100 Subject: [PATCH] Trivial static const -> constexpr --- src/V3File.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/V3File.cpp b/src/V3File.cpp index 305d19c08..75b2cb5d6 100644 --- a/src/V3File.cpp +++ b/src/V3File.cpp @@ -489,8 +489,8 @@ private: #ifdef INFILTER_PIPE int fd_stdin[2]; int fd_stdout[2]; - static const int P_RD = 0; - static const int P_WR = 1; + constexpr int P_RD = 0; + constexpr int P_WR = 1; if (pipe(fd_stdin) != 0 || pipe(fd_stdout) != 0) { v3fatal("--pipe-filter: Can't pipe: " << strerror(errno));