commit | c0d0591c69134750cbd72f47d4ef3869b15e3e5e | [log] [tgz] |
---|---|---|
author | Junxiao Shi <git@mail1.yoursunny.com> | Mon Feb 17 19:06:21 2014 -0700 |
committer | Junxiao Shi <git@mail1.yoursunny.com> | Mon Feb 17 19:07:17 2014 -0700 |
tree | 6c3033431d3ac6c7192bb53fc1650b40f003e6ca | |
parent | ba558e7faf37f2fc266b70c5cbd90f4af8b34c08 [diff] |
face: fix warnings in NDNLP code refs #1262 Change-Id: Iec17e22eefb04ee69f917c2826a1550906062013
diff --git a/daemon/face/ndnlp-partial-message-store.cpp b/daemon/face/ndnlp-partial-message-store.cpp index 22b493b..df8a285 100644 --- a/daemon/face/ndnlp-partial-message-store.cpp +++ b/daemon/face/ndnlp-partial-message-store.cpp
@@ -35,6 +35,7 @@ m_payloads[fragIndex] = payload; ++m_received; m_totalLength += payload.value_size(); + return true; } bool
diff --git a/tests/face/ndnlp.cpp b/tests/face/ndnlp.cpp index 1160cf3..589af94 100644 --- a/tests/face/ndnlp.cpp +++ b/tests/face/ndnlp.cpp
@@ -137,8 +137,8 @@ { protected: ReassembleFixture() - : m_slicer(1500) - , m_scheduler(m_io) + : m_scheduler(m_io) + , m_slicer(1500) , m_partialMessageStore(m_scheduler) { m_partialMessageStore.onReceive += bind(&std::vector<Block>::push_back,