Fix syntax error in a constexpr function 32/21832/2
authorLoïc Collignon <loic.collignon@iot.bzh>
Mon, 8 Jul 2019 12:47:30 +0000 (14:47 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Tue, 9 Jul 2019 08:18:40 +0000 (08:18 +0000)
commit3aa80df989dc52a010a40b247975fd779a43157f
tree0f0ee0d38ee686c608564e02860054078fb50424
parent28720882da28205568591a8b59f6565200d201af
Fix syntax error in a constexpr function

The function declaration contains a syntax error that was somehow
ignored but raise an error about an illegal cast in a constexpr
function.
Fixed this error and clean up a bit surrounding code to be more concise.

Bug-AGL: SPEC-2615

Change-Id: I931b086c96b093b3de4465c51dfc3e865f7ece3b
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
include/afb/c++/binding-wrap.hpp