diff options
Diffstat (limited to 'omegalib/omega')
| -rw-r--r-- | omegalib/omega/include/basic/Tuple.h | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/omegalib/omega/include/basic/Tuple.h b/omegalib/omega/include/basic/Tuple.h index 7bb3c24..e9aae84 100644 --- a/omegalib/omega/include/basic/Tuple.h +++ b/omegalib/omega/include/basic/Tuple.h @@ -230,7 +230,7 @@ template<class T> void Tuple<T>::join(Tuple<T>& t) {      assert(alloc_sz >= sz);      for(int i=0; i<t.sz; i++)  	data[i+old_sz] = t.data[i]; -    t.clear();ation will not fail, it would generate the object file but it won't generate any code for the template class in the object file. +    t.clear();  }  template<class T> void Tuple<T>::clear() { if (sz) delete [] data; data = 0; alloc_sz = 0; sz = 0; }  | 
