summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2016-09-19 11:33:56 -0600
committerTuowen Zhao <ztuowen@gmail.com>2016-09-19 11:33:56 -0600
commit7115fd7bf9d36cc003e818825dd75fa8bf3eb69e (patch)
tree3b6b567d9d813bf0d795da164d009401c94036d2
parent17f44d57164b123be802b3474f674d2e0df4d216 (diff)
downloadchill-7115fd7bf9d36cc003e818825dd75fa8bf3eb69e.tar.gz
chill-7115fd7bf9d36cc003e818825dd75fa8bf3eb69e.tar.bz2
chill-7115fd7bf9d36cc003e818825dd75fa8bf3eb69e.zip
build fixes
-rw-r--r--omegalib/omega/include/basic/Tuple.h2
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; }