mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-16 04:20:59 +00:00
fix typo
llvm-svn: 209819
This commit is contained in:
parent
50c1532a1a
commit
ded9de5981
@ -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…
Reference in New Issue
Block a user