OSDN Git Service

2008-10-22 Chris Fairles <cfairles@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 19_diagnostics / system_error / cons-1.cc
index 9fc24f1..bf73398 100644 (file)
@@ -27,7 +27,7 @@ int main()
 {
   bool test __attribute__((unused)) = true;
   const std::string s("too late: boulangerie out of pain au raisin");
-  const std::error_code e(std::posix_error::operation_not_supported);
+  const std::error_code e(std::errc::operation_not_supported);
 
   // 1
   {