diff options
| author | Alan Conway <aconway@apache.org> | 2007-09-28 17:01:10 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-09-28 17:01:10 +0000 |
| commit | 28b72367e7d93d51c34adf2e7a59da21b20e694d (patch) | |
| tree | d802b3b4817548c11816f7b11aef139484674b4f /cpp/rubygen/templates | |
| parent | c1e098efba26613a493f0a67952e340fcd92d2e3 (diff) | |
| download | qpid-python-28b72367e7d93d51c34adf2e7a59da21b20e694d.tar.gz | |
Fixed compile error.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@580417 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/rubygen/templates')
| -rw-r--r-- | cpp/rubygen/templates/Session.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/rubygen/templates/Session.rb b/cpp/rubygen/templates/Session.rb index 2b599ed7b3..d3520eaf2d 100644 --- a/cpp/rubygen/templates/Session.rb +++ b/cpp/rubygen/templates/Session.rb @@ -156,9 +156,10 @@ EOS class #{@classname} { shared_ptr<SessionCore> impl; framing::ProtocolVersion version; + friend class Connection; + #{@classname}(shared_ptr<SessionCore>); public: #{@classname}(); - #{@classname}(shared_ptr<SessionCore>); framing::FrameSet::shared_ptr get() { return impl->get(); } Uuid getId() const { return impl->getId(); } |
