Skip to content
Snippets Groups Projects
Commit ec965119 authored by Baptiste Jonglez's avatar Baptiste Jonglez Committed by Emmanuel Lepage Vallee
Browse files

build: gcc 5 does no longer implicitly converts nullptr to false,

see:
https://gcc.gnu.org/gcc-5/porting_to.html

Refs #73855

Change-Id: I26d8f987c46fd3c93b36cac061542de3ef1589d4
parent d6d825e8
No related branches found
No related tags found
No related merge requests found
...@@ -66,7 +66,7 @@ init(enum InitFlag flags) noexcept ...@@ -66,7 +66,7 @@ init(enum InitFlag flags) noexcept
// current implementation use static variable // current implementation use static variable
return &ring::Manager::instance() != nullptr; return &ring::Manager::instance() != nullptr;
} catch (...) { } catch (...) {
return nullptr; return false;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment