summaryrefslogtreecommitdiffstats
path: root/ahl-binding/ahl-binding.cpp
diff options
context:
space:
mode:
authorLoïc Collignon <loic.collignon@iot.bzh>2018-06-29 10:51:21 +0200
committerLoïc Collignon <loic.collignon@iot.bzh>2018-06-29 10:53:51 +0200
commit4189cc2339a723eedba5a9e53929a45d9f0ad5e9 (patch)
tree421063c14fa8298d869e22c2b0d77cbc3354e7ea /ahl-binding/ahl-binding.cpp
parent99c48b7bd407f061e22c6a14d94b0f880941e593 (diff)
Fix build for migration to the binder from master
Some definitions changed between eel and master versions of the app-framework-binder. Change-Id: I92d6f4af3193a693580d421adbd4331fcb249392 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'ahl-binding/ahl-binding.cpp')
-rw-r--r--ahl-binding/ahl-binding.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ahl-binding/ahl-binding.cpp b/ahl-binding/ahl-binding.cpp
index 37e6847..29be7a1 100644
--- a/ahl-binding/ahl-binding.cpp
+++ b/ahl-binding/ahl-binding.cpp
@@ -268,7 +268,7 @@ void ahl_binding_t::load_static_verbs()
ahl_api_get_roles,
nullptr,
nullptr,
- AFB_SESSION_NONE_V2))
+ AFB_SESSION_NONE_X2))
{
throw std::runtime_error("Failed to add 'get_role' verb to the API.");
}
@@ -360,7 +360,7 @@ int ahl_binding_t::create_api_verb(role_t* r)
ahl_api_role,
r,
nullptr,
- AFB_SESSION_NONE_V2))
+ AFB_SESSION_NONE_X2))
{
AFB_DYNAPI_ERROR(handle_, "Failed to add '%s' verb to the API.",
r->uid().c_str());