summaryrefslogtreecommitdiff
path: root/examples/APG/Naming/Temperature_Grapher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/APG/Naming/Temperature_Grapher.cpp')
-rw-r--r--examples/APG/Naming/Temperature_Grapher.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/APG/Naming/Temperature_Grapher.cpp b/examples/APG/Naming/Temperature_Grapher.cpp
index e11367af4a0..4f1ef1bcff1 100644
--- a/examples/APG/Naming/Temperature_Grapher.cpp
+++ b/examples/APG/Naming/Temperature_Grapher.cpp
@@ -54,6 +54,7 @@ void Temperature_Grapher::update_graph (void)
}
// Listing 4
+#if !defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
// Listing 5 code/ch21
Graphable_Element_List graphable;
ACE_BINDING_ITERATOR set_iterator (set);
@@ -78,4 +79,5 @@ void Temperature_Grapher::update_graph (void)
this->naming_context_.rebind ("lastGraphed",
lastUpdate->int_value ());
// Listing 6
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
}