From d3954e4a58d780e2c224d56b532894a5687159b7 Mon Sep 17 00:00:00 2001 From: Tor Egge Date: Tue, 20 Jun 2023 20:39:10 +0200 Subject: Avoid warning about missing typename in nexus. --- vespalib/src/vespa/vespalib/test/nexus.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vespalib/src/vespa/vespalib/test/nexus.h b/vespalib/src/vespa/vespalib/test/nexus.h index aeb9337b975..f3b77b9bcc1 100644 --- a/vespalib/src/vespa/vespalib/test/nexus.h +++ b/vespalib/src/vespa/vespalib/test/nexus.h @@ -38,7 +38,7 @@ public: ThreadPool pool; using result_t = std::decay_t()))>; constexpr bool is_void = std::same_as; - using stored_t = std::conditional::type; + using stored_t = std::conditional_t; std::mutex lock; std::optional result; auto handle_result = [&](stored_t thread_result) noexcept { -- cgit v1.2.3