diff options
| author | Ted Ross <tross@apache.org> | 2009-11-03 21:08:58 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2009-11-03 21:08:58 +0000 |
| commit | 7636a48850bd4872ce7c808de45f94740ab5179e (patch) | |
| tree | 08e7dd07344818d9d063723b1f5bed6fd060b635 /cpp/src/qmf | |
| parent | f9c5304c21332e836ac4f615f2479cec6689f96d (diff) | |
| download | qpid-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/src/qmf')
| -rw-r--r-- | cpp/src/qmf/engine/ObjectImpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qmf/engine/ObjectImpl.h b/cpp/src/qmf/engine/ObjectImpl.h index ddd20bfea2..6f25867004 100644 --- a/cpp/src/qmf/engine/ObjectImpl.h +++ b/cpp/src/qmf/engine/ObjectImpl.h @@ -56,7 +56,7 @@ namespace engine { void destroy(); const ObjectId* getObjectId() const { return objectId.get(); } - void setObjectId(ObjectId* oid) { objectId.reset(oid); } + void setObjectId(ObjectId* oid) { objectId.reset(new ObjectId(*oid)); } const SchemaObjectClass* getClass() const { return objectClass; } Value* getValue(const std::string& key) const; void invokeMethod(const std::string& methodName, const Value* inArgs, void* context) const; |
