Skip to content

Commit 6510eff

Browse files
committed
Export * from common_type instead
1 parent 8e1959b commit 6510eff

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

libcxx/include/module.modulemap

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,12 @@ module std_core [system] {
7171
module alignment_of { header "__type_traits/alignment_of.h" }
7272
module can_extract_key { header "__type_traits/can_extract_key.h" }
7373
module common_reference { header "__type_traits/common_reference.h" }
74-
module common_type { header "__type_traits/common_type.h" }
74+
module common_type {
75+
header "__type_traits/common_type.h"
76+
// We need to export everything from this module because common_type inherits from __builtin_common_type,
77+
// which needs to be re-exported.
78+
export *
79+
}
7580
module conditional { header "__type_traits/conditional.h" }
7681
module conjunction { header "__type_traits/conjunction.h" }
7782
module copy_cv { header "__type_traits/copy_cv.h" }

0 commit comments

Comments
 (0)