summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/fdhack.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/fdhack.hpp b/src/tests/fdhack.hpp
index c75bfea..fb0953e 100644
--- a/src/tests/fdhack.hpp
+++ b/src/tests/fdhack.hpp
@@ -51,7 +51,7 @@ public:
class QuietFd : ReplaceFd
{
public:
- QuietFd(io::FD num=io::FD::stderr())
+ QuietFd(io::FD num=io::FD::stderr_())
: ReplaceFd(num, io::FD::open("/dev/null"_s, O_RDONLY), true)
{}
};