Skip to content

Commit 9996f6a

Browse files
committed
Move header include up to the top
1 parent b3891e8 commit 9996f6a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tinyexpr.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@
7474
#if __has_include(<bit>)
7575
#include <bit>
7676
#endif
77+
// type_traits to get n_args.
78+
#include <tuple>
79+
#include <type_traits>
7780

7881
class te_parser;
7982

@@ -155,9 +158,6 @@ using te_confun22 = te_type (*)(const te_expr*, te_type, te_type, te_type, te_ty
155158
using te_confun23 = te_type (*)(const te_expr*, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type);
156159
using te_confun24 = te_type (*)(const te_expr*, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type, te_type);
157160
// clang-format on
158-
// type_traits to get n_args.
159-
#include <tuple>
160-
#include <type_traits>
161161
template<typename FuncType>
162162
struct te_fun_traits;
163163

0 commit comments

Comments
 (0)