summaryrefslogtreecommitdiff
path: root/src/system.hh.in
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-10 16:32:24 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-10 16:32:24 -0400
commit92d2eb957407c16d1eca3598e00e6c16cbe4e7e7 (patch)
treebaea9d1514cd878a7cfe9396e497f7d08d134e0d /src/system.hh.in
parent5659b6fb37b8601c39be6ecec3c8c86625686e0f (diff)
downloadfork-ledger-92d2eb957407c16d1eca3598e00e6c16cbe4e7e7.tar.gz
fork-ledger-92d2eb957407c16d1eca3598e00e6c16cbe4e7e7.tar.bz2
fork-ledger-92d2eb957407c16d1eca3598e00e6c16cbe4e7e7.zip
Use ptr_deque for value_t::sequence_t
This is to work around undefined behavior according to the Standard, [lib.res.on.functions]/2: "In particular, the effects are undefined in the following cases: [..] - if an incomplete type (3.9) is used as a template argument when instantiating a template component."
Diffstat (limited to 'src/system.hh.in')
-rw-r--r--src/system.hh.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/system.hh.in b/src/system.hh.in
index 5de7150e..ff59221e 100644
--- a/src/system.hh.in
+++ b/src/system.hh.in
@@ -159,6 +159,7 @@ typedef std::ostream::pos_type ostream_pos_type;
#include <boost/operators.hpp>
#include <boost/optional.hpp>
#include <boost/ptr_container/ptr_list.hpp>
+#include <boost/ptr_container/ptr_deque.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/uniform_int.hpp>
#include <boost/random/uniform_real.hpp>