test_call_policies.cpp
4.1 KB
-
Don't add duplicate patients · 56c1edb4
This fixes #1251 (patient vector grows without bounds) for the 2.2.2 branch by checking that the vector doesn't already have the given patient. This is a little less elegant than the same fix for `master` (which changes the patients `vector` to an `unordered_set`), but that requires an internals layout change, which this approach avoids.
Jason Rhinelander committed