Skip to content

Commit

Permalink
Change qxFuncAggregate ded. guide check to feature test
Browse files Browse the repository at this point in the history
  • Loading branch information
oblivioncth committed Nov 20, 2024
1 parent 1114883 commit 99d0260
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/utility/include/qx/utility/qx-helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ struct qxFuncAggregate : Functors... {
using Functors::operator()...;
};

// Explicit deduction guide. Shouldn't be needed as of C++20 but Clang was late to the party
#ifdef Q_CC_CLANG
// Explicit deduction guide. Shouldn't be needed as of C++20, but some compilers are late to the party
#if __cpp_deduction_guides >= 201907
template<class... Ts>
qxFuncAggregate(Ts...) -> qxFuncAggregate<Ts...>;
#endif
Expand Down

0 comments on commit 99d0260

Please sign in to comment.