Skip to content

Commit e48fa2a

Browse files
committed
Arduino strings defines an F macro for flash strings.
1 parent 1d3b038 commit e48fa2a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/libcyphal/common/cavl/cavl.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ template <typename Derived>
6767
class Node // NOSONAR cpp:S1448
6868
{
6969
// Polyfill for C++17's std::invoke_result_t.
70-
template <typename F, typename... Args>
70+
template <typename Function, typename... Args>
7171
using invoke_result =
7272
#if __cplusplus >= 201703L
73-
std::invoke_result_t<F, Args...>;
73+
std::invoke_result_t<Function, Args...>;
7474
#else
75-
std::result_of_t<F(Args...)>;
75+
std::result_of_t<Function(Args...)>;
7676
#endif
7777

7878
public:

0 commit comments

Comments
 (0)