1
1
do not use the const modifier for allocator nor recv buffers
Этот коммит содержится в:
Gilles Gouaillardet
2015-09-17 09:12:35 +09:00
родитель 567c9e3a5b
Коммит a611274704
18 изменённых файлов: 34 добавлений и 50 удалений

Просмотреть файл

@ -15,8 +15,6 @@
* Copyright (c) 2011 NVIDIA Corporation. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* Copyright (c) 2015 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -269,7 +267,7 @@ void * mca_allocator_basic_realloc(
*/
void mca_allocator_basic_free(
mca_allocator_base_module_t * base,
const void * ptr)
void * ptr)
{
mca_allocator_basic_module_t* module = (mca_allocator_basic_module_t*)base;
mca_allocator_basic_segment_t* seg;