Make outstanding_allocation_indices return a vector, not a set
This commit is contained in:
parent
4c9c05806a
commit
8b3941764f
2 changed files with 8 additions and 10 deletions
|
|
@ -1,14 +1,14 @@
|
|||
#ifndef HELPERS_RECORD_ALLOC_H_
|
||||
#define HELPERS_RECORD_ALLOC_H_
|
||||
|
||||
#include <set>
|
||||
#include <vector>
|
||||
|
||||
namespace record_alloc {
|
||||
|
||||
void start();
|
||||
void stop();
|
||||
void fail_at_allocation_index(size_t failure_index);
|
||||
std::set<size_t> outstanding_allocation_indices();
|
||||
std::vector<size_t> outstanding_allocation_indices();
|
||||
size_t allocation_count();
|
||||
|
||||
} // namespace record_alloc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue