diff options
author | Daniel Burrows <dburrows@debian.org> | 2010-04-30 09:04:26 -0700 |
---|---|---|
committer | Daniel Burrows <dburrows@debian.org> | 2010-04-30 09:04:26 -0700 |
commit | c69b583a6742fa46f158b5f1483455e95a179f7a (patch) | |
tree | 281aaef4cc5e4913bde474d2b02ccc6c1bb2421c /tests/test_enumerator.cc | |
parent | e8bf3c1941f9f381033dd4e4c18e2e6d515765aa (diff) | |
download | aptitude-c69b583a6742fa46f158b5f1483455e95a179f7a.tar.gz |
Actually allocate the heap-based test input.
Diffstat (limited to 'tests/test_enumerator.cc')
-rw-r--r-- | tests/test_enumerator.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_enumerator.cc b/tests/test_enumerator.cc index 1b29569d..f1845edd 100644 --- a/tests/test_enumerator.cc +++ b/tests/test_enumerator.cc @@ -19,6 +19,7 @@ struct fourNumbers std::vector<int> > int_keepalive_enum; fourNumbers() + : numbersShared(new std::vector<int>) { for(int i = 1; i <= 4; ++i) { |