From 01275172a2f9708e0348917aae1bc00141f5d0b9 Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Sat, 19 May 2012 20:40:11 -0700 Subject: [PATCH] pybindgen requires that the data type held by a container has a default constructor --- src/dsr/model/dsr-rcache.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dsr/model/dsr-rcache.h b/src/dsr/model/dsr-rcache.h index 101f6d62b..3ff366726 100644 --- a/src/dsr/model/dsr-rcache.h +++ b/src/dsr/model/dsr-rcache.h @@ -493,6 +493,8 @@ public: close (false) { } + + Neighbor () {} // For Python bindings }; // / Return expire time for neighbor node with address addr, if exists, else return 0. Time GetExpireTime (Ipv4Address addr);