summaryrefslogtreecommitdiff
path: root/gcc/ada/a-coorma.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/a-coorma.adb')
-rw-r--r--gcc/ada/a-coorma.adb8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ada/a-coorma.adb b/gcc/ada/a-coorma.adb
index 934d9de658c..ba865202d24 100644
--- a/gcc/ada/a-coorma.adb
+++ b/gcc/ada/a-coorma.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- --
@@ -537,7 +537,7 @@ package body Ada.Containers.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;
Position.Node.Key := Key;
@@ -1018,7 +1018,7 @@ package body Ada.Containers.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;
Node.Key := Key;
@@ -1047,7 +1047,7 @@ package body Ada.Containers.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),