Skip to content
Open
Prev Previous commit
fixed 'clear()' function of chivectors
  • Loading branch information
poojanilangekar committed Sep 9, 2015
commit bca242c11a15c49008f6f738d583f1bb0d995506
2 changes: 2 additions & 0 deletions src/api/dynamicdata/chivector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ class chivector {

void clear() {
nsize = 0;
if(extensions != NULL)
extensions -> clear();
}

// TODO: iterators
Expand Down