Skip to content

Do not use non-standard pragma once and do not change semantics of reserving GooList constructor.

Adam Reichold requested to merge (removed):goo-list-fixup into master

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

Merge request reports