fix typo
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@209819 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fcafd80ace
commit
d32add4a48
@ -48,7 +48,7 @@ int main()
|
||||
#if _LIBCPP_STD_VER > 11
|
||||
{
|
||||
// Note that you can't take a reference to a local var, since
|
||||
// it's address is not a compile-time constant.
|
||||
// its address is not a compile-time constant.
|
||||
constexpr static int x = 1;
|
||||
constexpr static int y = 0;
|
||||
constexpr auto p1 = std::minmax (x, y);
|
||||
|
@ -51,7 +51,7 @@ int main()
|
||||
#if _LIBCPP_STD_VER > 11
|
||||
{
|
||||
// Note that you can't take a reference to a local var, since
|
||||
// it's address is not a compile-time constant.
|
||||
// its address is not a compile-time constant.
|
||||
constexpr static int x = 1;
|
||||
constexpr static int y = 0;
|
||||
constexpr auto p1 = std::minmax(x, y, std::greater<>());
|
||||
|
Loading…
x
Reference in New Issue
Block a user