Because opal_list is used in the C++ bindings, where not having
"const" in the argument creates [correct] warnings (because __FILE__ is a (const char*)). Plus, opal_object.cls_init_file_name is already (const char*). This commit was SVN r17145.
Этот коммит содержится в:
родитель
add4d9df8a
Коммит
cc3805d861
@ -413,7 +413,7 @@ _opal_list_append(l,i)
|
||||
|
||||
static inline void _opal_list_append(opal_list_t *list, opal_list_item_t *item
|
||||
#if OMPI_ENABLE_DEBUG
|
||||
, char* FILE_NAME, int LINENO
|
||||
, const char* FILE_NAME, int LINENO
|
||||
#endif /* OMPI_ENABLE_DEBUG */
|
||||
)
|
||||
{
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user