From: Loïc Collignon Date: Fri, 4 Jan 2019 14:49:18 +0000 (+0100) Subject: c++: Fix multiple definition and cast X-Git-Tag: 7.99.1~42 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=9383ae1d276484f273cb11b6e5d92d1509118c96;hp=9383ae1d276484f273cb11b6e5d92d1509118c96;p=src%2Fapp-framework-binder.git c++: Fix multiple definition and cast The function was defined as many time as the header was included. Making it a weak function fix the issue. Also, a plain old C cast is required to make this constexpr valid. Change-Id: I278f376e00ec6728272df4fde8ca8984195dd533 Signed-off-by: Loïc Collignon ---