diff options
Diffstat (limited to 'gcc/ada/a-ciorma.adb')
-rw-r--r-- | gcc/ada/a-ciorma.adb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ada/a-ciorma.adb b/gcc/ada/a-ciorma.adb index 4093d610b9a..9cfcd3f5a80 100644 --- a/gcc/ada/a-ciorma.adb +++ b/gcc/ada/a-ciorma.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 2004-2009, Free Software Foundation, Inc. -- +-- Copyright (C) 2004-2010, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -625,7 +625,7 @@ package body Ada.Containers.Indefinite_Ordered_Maps is if not Inserted then if Container.Tree.Lock > 0 then raise Program_Error with - "attempt to tamper with cursors (map is locked)"; + "attempt to tamper with elements (map is locked)"; end if; K := Position.Node.Key; @@ -1106,7 +1106,7 @@ package body Ada.Containers.Indefinite_Ordered_Maps is if Container.Tree.Lock > 0 then raise Program_Error with - "attempt to tamper with cursors (map is locked)"; + "attempt to tamper with elements (map is locked)"; end if; K := Node.Key; @@ -1155,7 +1155,7 @@ package body Ada.Containers.Indefinite_Ordered_Maps is if Container.Tree.Lock > 0 then raise Program_Error with - "attempt to tamper with cursors (map is locked)"; + "attempt to tamper with elements (map is locked)"; end if; pragma Assert (Vet (Container.Tree, Position.Node), |