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:00:49 +0200 |
commit | c9ec9b1a76ce90048974476b1a5aa1be89b58536 (patch) | |
tree | 87ef9372655364eb41526a8075dd25055db00dee /test/websock.html | |
parent | b2114e0f626ed42a5d6154c681486b4edb19fbbf (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: I8096db6e4eba020f96fbf25789b2990d2a8cbabf
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'test/websock.html')
0 files changed, 0 insertions, 0 deletions