RFA: Tulip/SendReceive.h: Reorder Initializers

Jeffrey Oldham oldham at codesourcery.com
Tue Jun 26 20:53:50 UTC 2001


OK to commit this patch?

This patch reorders initializers to reflect declaration order.

2001-06-26  Jeffrey D. Oldham  <oldham at codesourcery.com>

	* SendReceive.h (SendIterate::SendIterate): Reorder initializers.
	(ReceiveIterate::ReceiveIterate): Likewise.

Tested on	sequential Linux gcc3.0 by compiling Pooma library
Approved by	???you???

Thanks,
Jeffrey D. Oldham
oldham at codesourcery.com
-------------- next part --------------
Index: SendReceive.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/Tulip/SendReceive.h,v
retrieving revision 1.8
diff -c -p -r1.8 SendReceive.h
*** SendReceive.h	2000/06/20 20:46:30	1.8
--- SendReceive.h	2001/06/26 20:44:53
*************** class SendIterate
*** 86,94 ****
  public:
    SendIterate(const View &view, int toContext, int tag)
      : Pooma::Iterate_t(Pooma::scheduler()),
-       view_m(view),
        toContext_m(toContext),
!       tag_m(tag)
   {
      PAssert(toContext >= 0);
     
--- 86,94 ----
  public:
    SendIterate(const View &view, int toContext, int tag)
      : Pooma::Iterate_t(Pooma::scheduler()),
        toContext_m(toContext),
!       tag_m(tag),
!       view_m(view)
   {
      PAssert(toContext >= 0);
     
*************** public:
*** 153,162 ****
    typedef ReceiveIterate<View, IncomingView> This_t;
  
    ReceiveIterate(const View &view, int fromContext, int tag)
!     : view_m(view),
        fromContext_m(fromContext),
        tag_m(tag),
!       Pooma::Iterate_t(Pooma::scheduler())
    {
      PAssert(fromContext >= 0);
      
--- 153,162 ----
    typedef ReceiveIterate<View, IncomingView> This_t;
  
    ReceiveIterate(const View &view, int fromContext, int tag)
!     : Pooma::Iterate_t(Pooma::scheduler()),
        fromContext_m(fromContext),
        tag_m(tag),
!       view_m(view)
    {
      PAssert(fromContext >= 0);
      


More information about the pooma-dev mailing list