From 90256e9929e11ef720d9e9c6afc4342acacae654 Mon Sep 17 00:00:00 2001 From: Angelo Mantellini Date: Fri, 17 May 2019 15:49:27 +0200 Subject: [HICN-200] Minor issue Android Change-Id: Iaa24bb5568bc458967b13f51b9c91c8163b2ce52 Signed-off-by: Angelo Mantellini --- libtransport/src/hicn/transport/core/interest.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libtransport/src/hicn/transport/core/interest.cc') diff --git a/libtransport/src/hicn/transport/core/interest.cc b/libtransport/src/hicn/transport/core/interest.cc index bd7b57422..e7d47d565 100644 --- a/libtransport/src/hicn/transport/core/interest.cc +++ b/libtransport/src/hicn/transport/core/interest.cc @@ -44,7 +44,12 @@ Interest::Interest(const Name &interest_name, Packet::Format format) } } + +#ifdef __ANDROID__ +Interest::Interest(hicn_format_t format) : Interest(Name("0::0|0"), format) {} +#else Interest::Interest(hicn_format_t format) : Interest(base_name, format) {} +#endif Interest::Interest(const uint8_t *buffer, std::size_t size) : Packet(buffer, size) { -- cgit 1.2.3-korg