summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/APG/Naming/Graphable_Element.h4
-rw-r--r--examples/APG/Proactor/HA_Proactive_Status.cpp4
2 files changed, 4 insertions, 4 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 ();
}
diff --git a/examples/APG/Proactor/HA_Proactive_Status.cpp b/examples/APG/Proactor/HA_Proactive_Status.cpp
index ed5d9a2c81b..1fa4e8ac53c 100644
--- a/examples/APG/Proactor/HA_Proactive_Status.cpp
+++ b/examples/APG/Proactor/HA_Proactive_Status.cpp
@@ -90,8 +90,8 @@ HA_Proactive_Service::handle_write_stream
int
HA_Proactive_Acceptor::validate_connection
(const ACE_Asynch_Accept::Result&,
- const ACE_INET_Addr& remote,
- const ACE_INET_Addr& local)
+ const ACE_INET_Addr&,
+ const ACE_INET_Addr&)
{
return 0;
}