summaryrefslogtreecommitdiff
path: root/src/item.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-13 00:03:56 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-03-13 00:03:56 -0500
commit59cbcf703c407833e4bdb07aa53a8ad6c20c292c (patch)
tree299e013a543fe3c06534ed7005d18eb71e8e9b2f /src/item.h
parent72fc1824d01bb4fe50405ed183afb57b0e129d69 (diff)
downloadfork-ledger-59cbcf703c407833e4bdb07aa53a8ad6c20c292c.tar.gz
fork-ledger-59cbcf703c407833e4bdb07aa53a8ad6c20c292c.tar.bz2
fork-ledger-59cbcf703c407833e4bdb07aa53a8ad6c20c292c.zip
post_t's copy constructor wasn't copying xdata_
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item.h b/src/item.h
index 3a9c55bb..e7415918 100644
--- a/src/item.h
+++ b/src/item.h
@@ -132,7 +132,7 @@ public:
TRACE_DTOR(item_t);
}
- void copy_details(const item_t& item)
+ virtual void copy_details(const item_t& item)
{
set_flags(item.flags());
set_state(item.state());