Skip to content

Commit ba40737

Browse files
authored
[libc++][modules] Include __type_traits/invoke.h from __type_traits/result_of.h (#106796)
The result_of trait requires the __invoke_of implementation detail, but that is defined under __type_traits, not under __functional. Include the right header directly to remove a dependency from __type_traits to __functional.
1 parent 865edb0 commit ba40737

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/__type_traits/result_of.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#define _LIBCPP___TYPE_TRAITS_RESULT_OF_H
1111

1212
#include <__config>
13-
#include <__functional/invoke.h>
13+
#include <__type_traits/invoke.h>
1414

1515
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
1616
# pragma GCC system_header

0 commit comments

Comments
 (0)