diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-25 21:51:11 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-25 21:51:11 -0400 |
commit | 69bd31b4d0386074713a35da319790b02648e479 (patch) | |
tree | f12b98b7e93046650ca56932827e43fd0015d545 /value.cc | |
parent | ac000a67c4e9c75e11e43018e5f16242b4d99226 (diff) | |
download | fork-ledger-69bd31b4d0386074713a35da319790b02648e479.tar.gz fork-ledger-69bd31b4d0386074713a35da319790b02648e479.tar.bz2 fork-ledger-69bd31b4d0386074713a35da319790b02648e479.zip |
added usual operator
Diffstat (limited to 'value.cc')
-rw-r--r-- | value.cc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -22,6 +22,9 @@ void value_t::destroy() value_t& value_t::operator=(const value_t& value) { + if (this == &value) + return *this; + destroy(); switch (value.type) { case BOOLEAN: |