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 llvmbot committed Aug 27, 2024
1 parent 5f744ee commit 2a3e4a7
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 2a3e4a7

Please sign in to comment.