Skip to content

Commit

Permalink
[libc++] Add missing include to three_way_comp_ref_type.h
Browse files Browse the repository at this point in the history
We were using a `_LIBCPP_ASSERT_FOO` macro without including `<__assert>`.

rdar://134425695
(cherry picked from commit 0df7812)
  • Loading branch information
ldionne authored and tru committed Sep 1, 2024
1 parent 52ab956 commit 6883c49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libcxx/include/__algorithm/three_way_comp_ref_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#ifndef _LIBCPP___ALGORITHM_THREE_WAY_COMP_REF_TYPE_H
#define _LIBCPP___ALGORITHM_THREE_WAY_COMP_REF_TYPE_H

#include <__assert>
#include <__compare/ordering.h>
#include <__config>
#include <__utility/declval.h>
Expand Down

0 comments on commit 6883c49

Please sign in to comment.