summaryrefslogtreecommitdiff
path: root/examples/APG/Naming
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2004-01-08 16:33:45 +0000
committerSteve Huston <shuston@riverace.com>2004-01-08 16:33:45 +0000
commit18d67f032a9ec61a5ebda68a74173dc9692f0942 (patch)
tree0121fecfa4ffeda54f407b0dc11e34412e37a433 /examples/APG/Naming
parent66c26132b53e80a2310d03c0fec54ff48faea0a7 (diff)
downloadATCD-18d67f032a9ec61a5ebda68a74173dc9692f0942.tar.gz
ChangeLogTag:Thu Jan 8 11:23:41 2004 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'examples/APG/Naming')
-rw-r--r--examples/APG/Naming/Graphable_Element.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/APG/Naming/Graphable_Element.h b/examples/APG/Naming/Graphable_Element.h
index c12b2826f91..42758934993 100644
--- a/examples/APG/Naming/Graphable_Element.h
+++ b/examples/APG/Naming/Graphable_Element.h
@@ -23,7 +23,7 @@ public:
// Listing 1
// Listing 2 code/ch21
- inline int when (void)
+ inline int when (void) const
{
return this->when_;
}
@@ -35,7 +35,7 @@ public:
// Listing 2
// Listing 3 code/ch21
- inline bool operator< (Graphable_Element &other)
+ inline bool operator< (const Graphable_Element &other) const
{
return this->when () < other.when ();
}