Trivial static const -> constexpr

This commit is contained in:
Geza Lore 2022-07-13 16:01:03 +01:00
parent 3fc8249429
commit 658819bb71

View File

@ -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));