summaryrefslogtreecommitdiffstats
path: root/unittests/Support/ErrorOrTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/Support/ErrorOrTest.cpp')
-rw-r--r--unittests/Support/ErrorOrTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/Support/ErrorOrTest.cpp b/unittests/Support/ErrorOrTest.cpp
index 5e8d442..73d0e3f 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);
OpenPOWER on IntegriCloud