src: Global renaming ContentObject -> Data
diff --git a/model/pit/ndn-pit-impl.h b/model/pit/ndn-pit-impl.h
index 6a8dfcd..85f11c8 100644
--- a/model/pit/ndn-pit-impl.h
+++ b/model/pit/ndn-pit-impl.h
@@ -81,7 +81,7 @@
// inherited from Pit
virtual Ptr<Entry>
- Lookup (const ContentObject &header);
+ Lookup (const Data &header);
virtual Ptr<Entry>
Lookup (const Interest &header);
@@ -300,7 +300,7 @@
template<class Policy>
Ptr<Entry>
-PitImpl<Policy>::Lookup (const ContentObject &header)
+PitImpl<Policy>::Lookup (const Data &header)
{
/// @todo use predicate to search with exclude filters
typename super::iterator item = super::longest_prefix_match_if (header.GetName (), EntryIsNotEmpty ());
diff --git a/model/pit/ndn-pit.h b/model/pit/ndn-pit.h
index 0699479..1185892 100644
--- a/model/pit/ndn-pit.h
+++ b/model/pit/ndn-pit.h
@@ -44,11 +44,11 @@
class L3Protocol;
class Face;
-class ContentObject;
+class Data;
class Interest;
typedef Interest InterestHeader;
-typedef ContentObject ContentObjectHeader;
+typedef Data DataHeader;
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
@@ -89,7 +89,7 @@
* returns 0
*/
virtual Ptr<pit::Entry>
- Lookup (const ContentObject &header) = 0;
+ Lookup (const Data &header) = 0;
/**
* \brief Find a PIT entry for the given content interest