summaryrefslogtreecommitdiffstats
path: root/include/afb
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-01-02 13:28:42 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2018-01-03 09:41:41 +0100
commit9d8929c12cb52809e03ba7dda2657a91124ff276 (patch)
tree851d5a9b74b76f4864376f17044ec3ccacc5c969 /include/afb
parent3c7a1f5c28c23e5d0a933db19993d9c71fe6a3a2 (diff)
afb-binding.hpp: Fix constexpr of 'binding'eel_5.0.0eel/5.0.05.0.0
Change-Id: Icdee4029f11dcb6c0f75e945e0b411ea63654afe Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'include/afb')
-rw-r--r--include/afb/afb-binding.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/afb/afb-binding.hpp b/include/afb/afb-binding.hpp
index 6e7d4c2e..5942f76c 100644
--- a/include/afb/afb-binding.hpp
+++ b/include/afb/afb-binding.hpp
@@ -585,7 +585,7 @@ constexpr afb_verb_v2 verbend()
return r;
}
-const afb_binding_v2 binding(const char *name, const struct afb_verb_v2 *verbs, const char *info = nullptr, int (*init)() = nullptr, const char *specification = nullptr, void (*onevent)(const char*, struct json_object*) = nullptr, bool noconcurrency = false, int (*preinit)() = nullptr)
+constexpr afb_binding_v2 binding(const char *name, const struct afb_verb_v2 *verbs, const char *info = nullptr, int (*init)() = nullptr, const char *specification = nullptr, void (*onevent)(const char*, struct json_object*) = nullptr, bool noconcurrency = false, int (*preinit)() = nullptr)
{
afb_binding_v2 r = { 0, 0, 0, 0, 0, 0, 0, 0 };
r.api = name;