Skip to content

Commit ee0d187

Browse files
authored
Merge pull request gpertea#264 from ljyanesm/patch-1
Update reallocators.hpp
2 parents 089fdb9 + fc092c6 commit ee0d187

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

SuperReads_RNA/global-1/SuperReadsR/include/reallocators.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ struct remaper : public reallocator<T> {
138138
typedef T element_type;
139139
// T* operator()(T* ptr, size_t osize, size_t nsize) {
140140
static T* realloc(T* ptr, size_t osize, size_t nsize) {
141-
T* res = reallocator<T>::operator()(ptr, osize, nsize);
141+
T* res = reallocator<T>::realloc()(ptr, osize, nsize);
142142
if(res && nsize > osize)
143143
memset(res + osize, '\0', sizeof(T) * (nsize - osize));
144144
return res;

0 commit comments

Comments
 (0)