Fixed random value getter from BaseLibrary being broken.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
1eb751538d
commit
3b1c0e84e1
|
@ -16,9 +16,7 @@ namespace CreatureLib::Library {
|
|||
size_t _index;
|
||||
|
||||
public:
|
||||
BaseLibrary(size_t initialCapacity = 32) : _values(initialCapacity), _listValues(0) {
|
||||
_listValues.Resize(initialCapacity);
|
||||
}
|
||||
BaseLibrary(size_t initialCapacity = 32) : _values(initialCapacity), _listValues(initialCapacity) {}
|
||||
|
||||
virtual ~BaseLibrary() {
|
||||
for (const auto& v : _values) {
|
||||
|
|
Loading…
Reference in New Issue