certi-cvs
[Top][All Lists]
Advanced

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

[certi-cvs] certi/libRTI RTIambassador.cc


From: certi-cvs
Subject: [certi-cvs] certi/libRTI RTIambassador.cc
Date: Mon, 08 Nov 2010 15:30:43 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Eric NOULARD <erk>      10/11/08 15:30:43

Modified files:
        libRTI         : RTIambassador.cc 

Log message:
        Initialized Lookahead to a dummy value in the request
        in order to avoid serialization trouble

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/libRTI/RTIambassador.cc?cvsroot=certi&r1=3.118&r2=3.119

Patches:
Index: RTIambassador.cc
===================================================================
RCS file: /sources/certi/certi/libRTI/RTIambassador.cc,v
retrieving revision 3.118
retrieving revision 3.119
diff -u -b -r3.118 -r3.119
--- RTIambassador.cc    2 Oct 2010 13:19:43 -0000       3.118
+++ RTIambassador.cc    8 Nov 2010 15:30:41 -0000       3.119
@@ -19,7 +19,7 @@
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 // USA
 //
-// $Id: RTIambassador.cc,v 3.118 2010/10/02 13:19:43 erk Exp $
+// $Id: RTIambassador.cc,v 3.119 2010/11/08 15:30:41 erk Exp $
 // ----------------------------------------------------------------------------
 
 #include "RTI.hh"
@@ -1919,6 +1919,9 @@
                {
        M_Query_Lookahead req, rep ;
 
+       // Set Lookahead to a stupid value in the query
+       // in order to avoid uninitiliazed value
+       req.setLookahead(-1.0);
        privateRefs->executeService(&req, &rep);
 
        certi_cast<RTIfedTime>()(theTime) = rep.getLookahead();
@@ -3037,4 +3040,4 @@
        privateRefs->executeService(&req, &rep);
                }
 
-// $Id: RTIambassador.cc,v 3.118 2010/10/02 13:19:43 erk Exp $
+// $Id: RTIambassador.cc,v 3.119 2010/11/08 15:30:41 erk Exp $



reply via email to

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