diff options
author | Ted Ross <tross@apache.org> | 2010-08-04 13:22:00 +0000 |
---|---|---|
committer | Ted Ross <tross@apache.org> | 2010-08-04 13:22:00 +0000 |
commit | d760fa831bc95bc038eb2e0ac32cd0cad6b53a74 (patch) | |
tree | 41bafa50eb67b6f5d9a47b12c3e046462c4f27ad /cpp/include/qpid/messaging/Session.h | |
parent | a6bf87f9361b450b7502002652ad14d3a07654ba (diff) | |
download | qpid-python-d760fa831bc95bc038eb2e0ac32cd0cad6b53a74.tar.gz |
Added conditional-compilation directives to hide the PrivateImplRef template
from Swig. It seems that earlier versions of Swig (like that in RHEL5) don't like
the template syntax.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@982243 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include/qpid/messaging/Session.h')
-rw-r--r-- | cpp/include/qpid/messaging/Session.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/include/qpid/messaging/Session.h b/cpp/include/qpid/messaging/Session.h index 34fccdb868..688a4dd102 100644 --- a/cpp/include/qpid/messaging/Session.h +++ b/cpp/include/qpid/messaging/Session.h @@ -32,7 +32,9 @@ namespace qpid { namespace messaging { +#ifndef SWIG template <class> class PrivateImplRef; +#endif class Address; class Connection; class Message; @@ -161,8 +163,10 @@ class Session : public qpid::messaging::Handle<SessionImpl> QPID_MESSAGING_EXTERN bool hasError(); QPID_MESSAGING_EXTERN void checkError(); +#ifndef SWIG private: friend class qpid::messaging::PrivateImplRef<Session>; +#endif }; }} // namespace qpid::messaging |