From ec965119cee8dfe1cd84fa54e0b57a7dade6bbb5 Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez <> Date: Wed, 27 May 2015 16:00:56 -0400 Subject: [PATCH] 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 --- src/ring_api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ring_api.cpp b/src/ring_api.cpp index d6709b8d71..37efc095d9 100644 --- a/src/ring_api.cpp +++ b/src/ring_api.cpp @@ -66,7 +66,7 @@ init(enum InitFlag flags) noexcept // current implementation use static variable return &ring::Manager::instance() != nullptr; } catch (...) { - return nullptr; + return false; } } -- GitLab