diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2015-06-21 13:59:01 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2015-06-21 13:59:01 +0000 |
commit | 3a0822f094b578157263e04114075ad7df81db41 (patch) | |
tree | bc48361fe2cd1ca5f93ac01b38b183774468fc79 /unittests/Support/ErrorOrTest.cpp | |
parent | 85d8b2bbe386bcfe669575d05b61482d7be07e5d (diff) |
Notes
Diffstat (limited to 'unittests/Support/ErrorOrTest.cpp')
-rw-r--r-- | unittests/Support/ErrorOrTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/Support/ErrorOrTest.cpp b/unittests/Support/ErrorOrTest.cpp index 5e8d442a7039..73d0e3f2bb71 100644 --- a/unittests/Support/ErrorOrTest.cpp +++ b/unittests/Support/ErrorOrTest.cpp @@ -67,8 +67,8 @@ TEST(ErrorOr, Covariant) { } TEST(ErrorOr, Comparison) { - ErrorOr<int> x(std::errc::no_such_file_or_directory); - EXPECT_EQ(x, std::errc::no_such_file_or_directory); + ErrorOr<int> x(errc::no_such_file_or_directory); + EXPECT_EQ(x, errc::no_such_file_or_directory); } // ErrorOr<int*> x(nullptr); |