small refactoring to expand visibility of the helper structure
diff --git a/model/ccnx-rit.cc b/model/ccnx-rit.cc
index c3db1ae..6a7e556 100644
--- a/model/ccnx-rit.cc
+++ b/model/ccnx-rit.cc
@@ -56,22 +56,7 @@
return tid;
}
-
-
-//////////////////////////////////////////////////////////////////////
-// Helper classes
-//////////////////////////////////////////////////////////////////////
-/**
- * \ingroup ccnx
- * \brief Typedef for nonce hash index of RIT container
- */
-struct CcnxRitByNonce
-{
- typedef
- CcnxRitContainer::type::index<nonce>::type
- type;
-};
-
+
// /**
// * \ingroup ccnx
// * \brief Typedef for prefix hash index of RIT container
@@ -126,7 +111,7 @@
CcnxRit::WasRecentlySatisfied (const CcnxInterestHeader &header)
{
NS_LOG_FUNCTION_NOARGS ();
- std::pair<CcnxRitByNonce::type::iterator,CcnxRitByNonce::type::iterator>
+ std::pair<CcnxRitByNonce::type::iterator,CcnxRitByNonce::type::iterator>
entries = get<nonce> ().equal_range (header.GetNonce ());
if (entries.first == end ())