exclude: ImplicitSha256Digest bugfix
This commit also improves name::Component test suite.
refs #3665
Change-Id: I8e9a575bf203f0983bacd1dbdb3491510e326d1f
diff --git a/src/meta-info.cpp b/src/meta-info.cpp
index 1fb2d9f..0fd6923 100644
--- a/src/meta-info.cpp
+++ b/src/meta-info.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
- * Copyright (c) 2013-2015 Regents of the University of California.
+ * Copyright (c) 2013-2016 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
@@ -227,12 +227,12 @@
if (m_finalBlockId.type() != tlv::NameComponent)
{
/// @todo May or may not throw exception later...
- m_finalBlockId.reset();
+ m_finalBlockId = name::Component();
}
++val;
}
else {
- m_finalBlockId.reset();
+ m_finalBlockId = name::Component();
}
// AppMetaInfo (if any)