diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-07-13 11:45:59 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-07-13 12:05:54 +0200 |
commit | b2a1f5f40ec0663d57a18f97e04d1ce4901af468 (patch) | |
tree | 00c5938592dc0f6e96897c4ec3e9b0285a57a0a7 /include/afb/afb-daemon-common.h | |
parent | 4e72c3a2a4e550f99430d1f37a8ef693d2daa8c3 (diff) |
Fix const issue in afb-auth.h
The fields type and loa were declared as const.
This worked well for C compilers that are allowing
to initialize constant fixed structures.
But when compiling with C++, it is no more easy
to create initialized structure explicitely.
In C++, the solution is to use C++14 constexpr functions.
But for using these function, const must be removed.
Bug-AGL: SPEC-741
Change-Id: Ib332949b63892d9829db31d3c1a64d7d388db744
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'include/afb/afb-daemon-common.h')
0 files changed, 0 insertions, 0 deletions