Commit ed886341 authored by Matthieu Dorier's avatar Matthieu Dorier

corrected bug in remi_provider_registered

parent bd3254cf
...@@ -205,8 +205,8 @@ extern "C" int remi_provider_registered( ...@@ -205,8 +205,8 @@ extern "C" int remi_provider_registered(
{ {
auto it = remi_provider::m_registered_providers.find(provider_id); auto it = remi_provider::m_registered_providers.find(provider_id);
if(it == remi_provider::m_registered_providers.end()) { if(it == remi_provider::m_registered_providers.end()) {
*pool = ABT_POOL_NULL; if(pool) *pool = ABT_POOL_NULL;
*provider = REMI_PROVIDER_NULL; if(provider) *provider = REMI_PROVIDER_NULL;
*flag = 0; *flag = 0;
} else { } else {
remi_provider* p = it->second; remi_provider* p = it->second;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment