summaryrefslogtreecommitdiff
path: root/TAO/examples
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2013-01-29 07:55:36 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2013-01-29 07:55:36 +0000
commit3693c6b6d3c1bdee78c15037856823602c3e1bec (patch)
treed180712593b2fc1fca3fa9019b82fa590e1377e2 /TAO/examples
parentd8925f4301afc872a929849ef7a38d83845874fa (diff)
downloadATCD-3693c6b6d3c1bdee78c15037856823602c3e1bec.tar.gz
Tue Jan 29 07:55:44 UTC 2013 Johnny Willemsen <jwillemsen@remedy.nl>
* examples/Advanced/ch_21/client.cpp: One more compile fix when ostream is disabled
Diffstat (limited to 'TAO/examples')
-rw-r--r--TAO/examples/Advanced/ch_21/client.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/TAO/examples/Advanced/ch_21/client.cpp b/TAO/examples/Advanced/ch_21/client.cpp
index f07fd00a9f2..ec0563841ca 100644
--- a/TAO/examples/Advanced/ch_21/client.cpp
+++ b/TAO/examples/Advanced/ch_21/client.cpp
@@ -25,6 +25,8 @@ using namespace std;
// This inserter may or may not be needed for your ORB.
#if !defined (GEN_OSTREAM_OPS)
+#if 0
+
static ostream &
operator<<(ostream & os, const CORBA::Exception & e)
{
@@ -40,6 +42,8 @@ operator<<(ostream & os, const CORBA::Exception & e)
return os;
}
+#endif
+
//----------------------------------------------------------------
// Show the details for a thermometer or thermostat.