The source project of this merge request has been removed.
Do not use non-standard pragma once and do not change semantics of reserving GooList constructor.
Sorry, the #pragma once
usage was from before you told me not to. And the change in the semantics of the reserving constructor seem to have no consequences seen via the tests.
Since the single-integer constructor can be confused (no matter whether used for std::vector
or GooList
), I added a second commit to remove and replaced it by explicit calls to reserve
and the three call sites.
Edited by Adam Reichold