summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/Outgoing.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/Outgoing.h')
-rw-r--r--cpp/include/Ice/Outgoing.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/include/Ice/Outgoing.h b/cpp/include/Ice/Outgoing.h
index 691bbfe6bc1..73c33841aff 100644
--- a/cpp/include/Ice/Outgoing.h
+++ b/cpp/include/Ice/Outgoing.h
@@ -63,8 +63,9 @@ public:
void finished(BasicStream&);
void finished(const ::Ice::LocalException&);
- BasicStream* is();
- BasicStream* os();
+ // Inlined for speed optimization.
+ BasicStream* is() { return &_is; }
+ BasicStream* os() { return &_os; }
private: