summaryrefslogtreecommitdiff
path: root/src/value.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2019-01-25 15:48:21 -0800
committerGitHub <noreply@github.com>2019-01-25 15:48:21 -0800
commit644db80fd377a4ee05bc2d6385b99ab152c13958 (patch)
treea2e236226332beb5f46a78ed82d0643e7371e873 /src/value.h
parent14dc0b912bb9e51f28fa10e03fba962dec22c870 (diff)
parentd0269e8c94dca6accba1d60e24ffb7f4b2f35932 (diff)
downloadledger-644db80fd377a4ee05bc2d6385b99ab152c13958.tar.gz
ledger-644db80fd377a4ee05bc2d6385b99ab152c13958.tar.bz2
ledger-644db80fd377a4ee05bc2d6385b99ab152c13958.zip
Merge pull request #1736 from scfc/drop-conditionals-for-boost-earlier-than-1-49
Drop conditionals for Boost earlier than 1.49
Diffstat (limited to 'src/value.h')
-rw-r--r--src/value.h10
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();