summaryrefslogtreecommitdiff
path: root/cpp/bindings
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2009-11-03 21:08:58 +0000
committerTed Ross <tross@apache.org>2009-11-03 21:08:58 +0000
commit7636a48850bd4872ce7c808de45f94740ab5179e (patch)
tree08e7dd07344818d9d063723b1f5bed6fd060b635 /cpp/bindings
parentf9c5304c21332e836ac4f615f2479cec6689f96d (diff)
downloadqpid-python-7636a48850bd4872ce7c808de45f94740ab5179e.tar.gz
QMF fixes:
- Added immediate notification of agent deletion - Fixed some issues with memory management between the wrapped client and the ruby wrapper git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@832557 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings')
-rw-r--r--cpp/bindings/qmf/ruby/qmf.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/bindings/qmf/ruby/qmf.rb b/cpp/bindings/qmf/ruby/qmf.rb
index 41c2c4a1ee..68a5ae7755 100644
--- a/cpp/bindings/qmf/ruby/qmf.rb
+++ b/cpp/bindings/qmf/ruby/qmf.rb
@@ -456,7 +456,7 @@ module Qmf
attr_reader :impl, :agent_key
def initialize(impl=nil)
if impl
- @impl = impl
+ @impl = Qmfengine::ObjectId.new(impl)
else
@impl = Qmfengine::ObjectId.new
end
@@ -594,7 +594,7 @@ module Qmf
attr_reader :impl
def initialize(kwargs = {})
if kwargs.include?(:impl)
- @impl = kwargs[:impl]
+ @impl = Qmfengine::Query.new(kwargs[:impl])
else
package = ''
if kwargs.include?(:key)