From 77fcb72bd529695c88e931403dac25c130190d0c Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 5 Oct 2020 10:17:17 +0200 Subject: [PATCH] testing: attempt to fix clang-7 --- test/lib/Server.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/lib/Server.hpp b/test/lib/Server.hpp index b90ac8d7..bfbab812 100644 --- a/test/lib/Server.hpp +++ b/test/lib/Server.hpp @@ -33,7 +33,12 @@ public: pipe = exchange(s.pipe, -1); status = exchange(s.status, 0); signalled = exchange(s.signalled, {}); +#if __clang__ && __clang_major__ <= 7 + socket_or_port = s.socket_or_port; + s.socket_or_port = 11211; +#else socket_or_port = exchange(s.socket_or_port, 11211); +#endif output = exchange(s.output, {}); return *this; }; -- 2.30.2