components/stdcxx/patches/063-6891240-vector.patch
author Shawn Walker-Salas <shawn.walker@oracle.com>
Mon, 23 Nov 2015 15:33:43 -0800
changeset 5125 34cc580c62c2
parent 402 94ae4d75524c
permissions -rw-r--r--
21029732 PKG_CONFIG_PATH should be included in CONFIGURE_ENV and BUILD_ENV 21029735 shared-macros should define service manifest and method macros 21093823 sample-manifest should omit or comment "standard" directories and certain files 21144358 configure scripts usually detect wrong host for 64-bit builds 21157847 shared-macros.mk instructions have a typo for studio c99 mode 22067225 common make-rules desired for simplifying makefiles 22067806 transforms needs expanding for desktop services

--- stdcxx-4.2.1/include/vector	2008-04-24 20:23:57.000000000 -0400
+++ stdcxx-4.2.1/include/vector	2011-01-06 18:05:47.301233744 -0500
@@ -1226,7 +1226,7 @@
 #ifdef _RWSTD_BOUNDS_CHECKING
 
         _RWSTD_REQUIRES (__n < size (),
-                         (_RWSTD_ERROR_LENGTH_ERROR,
+                         (_RWSTD_ERROR_OUT_OF_RANGE,
                           _RWSTD_FUNC ("vector<bool>::[](size_type)"),
                           __n, size ()));
 
@@ -1239,7 +1239,7 @@
 #ifdef _RWSTD_BOUNDS_CHECKING
 
         _RWSTD_REQUIRES (__n < size (),
-                         (_RWSTD_ERROR_LENGTH_ERROR,
+                         (_RWSTD_ERROR_OUT_OF_RANGE,
                           _RWSTD_FUNC ("vector<bool>::[](size_type)"),
                           __n, size ()));
 
@@ -1250,7 +1250,7 @@
     reference       at (size_type __n)               
     { 
         _RWSTD_REQUIRES (__n < size (),
-                         (_RWSTD_ERROR_LENGTH_ERROR,
+                         (_RWSTD_ERROR_OUT_OF_RANGE,
                           _RWSTD_FUNC ("vector<bool>::at(size_type)"),
                           __n, size ()));
       return *(begin() + __n); 
@@ -1258,7 +1258,7 @@
     const_reference at (size_type __n)   const 
     {
         _RWSTD_REQUIRES (__n < size (),
-                         (_RWSTD_ERROR_LENGTH_ERROR,
+                         (_RWSTD_ERROR_OUT_OF_RANGE,
                           _RWSTD_FUNC ("vector<bool>::at(size_type) const"),
                           __n, size ()));