diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-07-13 12:02:45 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2017-07-17 09:13:34 +0000 |
commit | bfc447d468f749d9161996f917ba3567ae063de4 (patch) | |
tree | d6b53d7336ddab69f5718a7b00ce2551fe69ade2 /.gitreview | |
parent | 5fbfb7a420928da5f9b9379ec1a3e8b31e398e54 (diff) |
af-binder: 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: Ia1b156b174166821a0246e603171193757e67ebe
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10195
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Diffstat (limited to '.gitreview')
0 files changed, 0 insertions, 0 deletions