summaryrefslogtreecommitdiff
path: root/src/chain.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-11 05:09:06 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-03-11 05:09:06 -0500
commitfcc68a0041d0c1334127a880e74b3a4646292cf6 (patch)
tree8ac134f04b70ace8ccfac18fe40f1a19ffefd6c5 /src/chain.h
parent62c04deb8719444d1f958d40fe6442b714bb7e50 (diff)
downloadfork-ledger-fcc68a0041d0c1334127a880e74b3a4646292cf6.tar.gz
fork-ledger-fcc68a0041d0c1334127a880e74b3a4646292cf6.tar.bz2
fork-ledger-fcc68a0041d0c1334127a880e74b3a4646292cf6.zip
Critical fix to temporary destruction order
Diffstat (limited to 'src/chain.h')
-rw-r--r--src/chain.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/chain.h b/src/chain.h
index 080c4231..15ae12ba 100644
--- a/src/chain.h
+++ b/src/chain.h
@@ -50,8 +50,9 @@ class post_t;
class account_t;
template <typename T>
-struct item_handler : public noncopyable
+class item_handler : public noncopyable
{
+protected:
shared_ptr<item_handler> handler;
public: