mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-27 06:35:04 +00:00
Resolved failure of initial state setting, which was causing tests sometimes to fail.
This commit is contained in:
parent
d17751787a
commit
0220d33562
@ -89,7 +89,9 @@ ArrayBuilder::Submission ArrayBuilder::submit()
|
|||||||
}
|
}
|
||||||
|
|
||||||
ArrayBuilder::Buffer::Buffer(size_t size, std::function<void(bool is_input, uint8_t *, size_t)> submission_function) :
|
ArrayBuilder::Buffer::Buffer(size_t size, std::function<void(bool is_input, uint8_t *, size_t)> submission_function) :
|
||||||
allocated_data(0), flushed_data(0), submitted_data(0), is_full(false), submission_function_(submission_function)
|
is_full(false), was_reset(false),
|
||||||
|
submission_function_(submission_function),
|
||||||
|
allocated_data(0), flushed_data(0), submitted_data(0)
|
||||||
{
|
{
|
||||||
if(!submission_function_)
|
if(!submission_function_)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user