Use typedefs in place of long templated classes
authorPhil Miller <mille121@illinois.edu>
Tue, 10 Feb 2009 21:52:59 +0000 (15:52 -0600)
committerPhil Miller <mille121@illinois.edu>
Thu, 10 Dec 2009 22:22:35 +0000 (16:22 -0600)
Every class in the MSA implementation has a few typedefs to make life
worth living when expressing function parameters. We ought to use
them.

src/libs/ck-libs/multiphaseSharedArrays/msa-DistPageMgr.h

index ba04a87a3ec614500270d6c220cbfb0b827443bf..4b52634ebc95ed9752de157ecf93fb62c19ceaf5 100644 (file)
@@ -1346,7 +1346,7 @@ public:
     /// Receive a runlength encoded page from the network:
     inline void PAReceiveRLEPageWithPup(
        const MSA_WriteSpan_t *spans, unsigned int nSpans, 
     /// Receive a runlength encoded page from the network:
     inline void PAReceiveRLEPageWithPup(
        const MSA_WriteSpan_t *spans, unsigned int nSpans, 
-        MSA_PageT<ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE> &entries, unsigned int nEntries, 
+        page_t &entries, unsigned int nEntries, 
         int pe, MSA_Page_Fault_t pageState)
                {
                        PAReceiveRLEPage(spans, nSpans, entries.getData(), nEntries, pe, pageState);
         int pe, MSA_Page_Fault_t pageState)
                {
                        PAReceiveRLEPage(spans, nSpans, entries.getData(), nEntries, pe, pageState);