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)
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>

No differences found