freepooma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch: Tulip: Move Toward ISO C++


From: Jeffrey D. Oldham
Subject: Patch: Tulip: Move Toward ISO C++
Date: Mon, 28 Apr 2003 11:23:43 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312

Move some code closer to ISO C++ by adding qualifications:

2003-Apr-28  Jeffrey D. Oldham  <address@hidden>

        * RemoteProxy.h (RemoteProxy::RemoteProxy): Specify the class for
        the function pointer to move toward ISO C++ standard.
        * SendReceive.h (ReceiveIterate::run): Likewise.

Approved by Richard Guenther.
Tested on Linux, gcc 3.4 by compiling and running Tulip tests.

Thanks,
Jeffrey D. Oldham
address@hidden
Index: RemoteProxy.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/Tulip/RemoteProxy.h,v
retrieving revision 1.15
diff -c -p -r1.15 RemoteProxy.h
*** RemoteProxy.h       23 Jan 2003 20:04:39 -0000      1.15
--- RemoteProxy.h       25 Apr 2003 18:18:32 -0000
*************** public:
*** 133,139 ****
  
        RemoteProxyBase::ready_m = false;
  
!       Pooma::indexHandler()->request(owningContext, tag, receive, this);
  
        while (!RemoteProxyBase::ready_m)
        {
--- 133,140 ----
  
        RemoteProxyBase::ready_m = false;
  
!       Pooma::indexHandler()->request(owningContext, tag,
!                                    This_t::receive, this);
  
        while (!RemoteProxyBase::ready_m)
        {
Index: SendReceive.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/Tulip/SendReceive.h,v
retrieving revision 1.10
diff -c -p -r1.10 SendReceive.h
*** SendReceive.h       5 Mar 2002 16:14:38 -0000       1.10
--- SendReceive.h       25 Apr 2003 18:18:32 -0000
*************** public:
*** 200,206 ****
    {
      ready_m = false;
      Pooma::remoteEngineHandler()->request(fromContext_m, tag_m,
!                                         handle, this);
  
      while (!ready_m)
      {
--- 200,206 ----
    {
      ready_m = false;
      Pooma::remoteEngineHandler()->request(fromContext_m, tag_m,
!                                         This_t::handle, this);
  
      while (!ready_m)
      {
*************** public:
*** 213,219 ****
    virtual void run()
    {
      Pooma::remoteEngineHandler()->request(fromContext_m, tag_m,
!                                         apply, view_m);
    }
  
  #endif
--- 213,219 ----
    virtual void run()
    {
      Pooma::remoteEngineHandler()->request(fromContext_m, tag_m,
!                                         This_t::apply, view_m);
    }
  
  #endif

reply via email to

[Prev in Thread] Current Thread [Next in Thread]