Skip to content

Commit cd25cfb

Browse files
committed
Remove local declaration of void_t
With the move to C++ 17 we can use std::void_t instead.
1 parent a7bb445 commit cd25cfb

File tree

2 files changed

+1
-39
lines changed

2 files changed

+1
-39
lines changed

src/solvers/smt2_incremental/smt_terms.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
#include <solvers/smt2_incremental/smt_index.h>
99
#include <solvers/smt2_incremental/smt_sorts.h>
10-
#include <solvers/smt2_incremental/type_traits.h>
1110

1211
#include <functional>
1312
#include <utility>
@@ -148,7 +147,7 @@ class smt_function_application_termt : public smt_termt
148147
template <class functiont>
149148
struct has_indicest<
150149
functiont,
151-
void_t<decltype(std::declval<functiont>().indices())>> : std::true_type
150+
std::void_t<decltype(std::declval<functiont>().indices())>> : std::true_type
152151
{
153152
};
154153

src/solvers/smt2_incremental/type_traits.h

-37
This file was deleted.

0 commit comments

Comments
 (0)