diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2019-02-05 08:27:25 -0500 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2019-02-05 08:27:25 -0500 |
commit | 0bbb976ee3064ff59b319e30fd97e31020259760 (patch) | |
tree | 5d13986511c18d911b0d1b2dc498b0f81d3a3b0e /src/value.h | |
parent | 9de94d4adb7a566af38814f9d37e26c559b68b4f (diff) | |
parent | 7a5871d3b53e66ee261bea4b41512e99269b18b1 (diff) | |
download | fork-ledger-0bbb976ee3064ff59b319e30fd97e31020259760.tar.gz fork-ledger-0bbb976ee3064ff59b319e30fd97e31020259760.tar.bz2 fork-ledger-0bbb976ee3064ff59b319e30fd97e31020259760.zip |
Merge branch 'next' into release/3.1.2
Diffstat (limited to 'src/value.h')
-rw-r--r-- | src/value.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/value.h b/src/value.h index 35581bfb..e44f9354 100644 --- a/src/value.h +++ b/src/value.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003-2018, John Wiegley. All rights reserved. + * Copyright (c) 2003-2019, John Wiegley. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -878,22 +878,14 @@ public: VERIFY(! is_null()); if (! is_sequence()) { -#if BOOST_VERSION >= 103700 storage.reset(); -#else - storage = intrusive_ptr<storage_t>(); -#endif } else { as_sequence_lval().pop_back(); const sequence_t& seq(as_sequence()); std::size_t new_size = seq.size(); if (new_size == 0) { -#if BOOST_VERSION >= 103700 storage.reset(); -#else - storage = intrusive_ptr<storage_t>(); -#endif } else if (new_size == 1) { *this = seq.front(); |