summaryrefslogtreecommitdiff
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
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
-rw-r--r--TAO/ChangeLog5
-rw-r--r--TAO/examples/Advanced/ch_21/client.cpp4
2 files changed, 9 insertions, 0 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index 76df409792e..ebd3e82ae98 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,8 @@
+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
+
Mon Jan 28 18:51:42 UTC 2013 Johnny Willemsen <jwillemsen@remedy.nl>
* examples/Advanced/ch_12/client.cpp:
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.