Fixing warnings from clang compiler
Change-Id: Id1b41ec47ede6defdab14f48b2e8d875d2d5d77b
diff --git a/src/node.cpp b/src/node.cpp
index 931e33f..eccde95 100644
--- a/src/node.cpp
+++ b/src/node.cpp
@@ -334,8 +334,8 @@
Node::PendingInterest::PendingInterest
(uint64_t pendingInterestId, const ptr_lib::shared_ptr<const Interest>& interest, const OnData& onData, const OnTimeout& onTimeout)
-: pendingInterestId_(pendingInterestId), interest_(interest), onData_(onData), onTimeout_(onTimeout),
- interestStruct_(new struct ndn_Interest)
+ : interest_(interest), interestStruct_(new struct ndn_Interest),
+ pendingInterestId_(pendingInterestId), onData_(onData), onTimeout_(onTimeout)
{
// Set up timeoutTime_.
if (interest_->getInterestLifetimeMilliseconds() >= 0.0)