[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[certi-cvs] certi libCERTI/FedTime.cc libCERTI/SocketMC.cc ... [br_DEV_N
From: |
certi-cvs |
Subject: |
[certi-cvs] certi libCERTI/FedTime.cc libCERTI/SocketMC.cc ... [br_DEV_NoCircularRef] |
Date: |
Mon, 05 Jan 2009 15:22:36 +0000 |
CVSROOT: /cvsroot/certi
Module name: certi
Branch: br_DEV_NoCircularRef
Changes by: Petr Gotthard <gotthardp> 09/01/05 15:22:36
Modified files:
libCERTI : FedTime.cc SocketMC.cc
libRTI : RTIfedTime.cc
Log message:
Latest GCC compilability fix.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/FedTime.cc?cvsroot=certi&only_with_tag=br_DEV_NoCircularRef&r1=3.15.4.1&r2=3.15.4.2
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/SocketMC.cc?cvsroot=certi&only_with_tag=br_DEV_NoCircularRef&r1=3.16&r2=3.16.4.1
http://cvs.savannah.gnu.org/viewcvs/certi/libRTI/RTIfedTime.cc?cvsroot=certi&only_with_tag=br_DEV_NoCircularRef&r1=1.1.2.1&r2=1.1.2.2
Patches:
Index: libCERTI/FedTime.cc
===================================================================
RCS file: /cvsroot/certi/certi/libCERTI/FedTime.cc,v
retrieving revision 3.15.4.1
retrieving revision 3.15.4.2
diff -u -b -r3.15.4.1 -r3.15.4.2
--- libCERTI/FedTime.cc 5 Jan 2009 13:34:50 -0000 3.15.4.1
+++ libCERTI/FedTime.cc 5 Jan 2009 15:22:34 -0000 3.15.4.2
@@ -18,7 +18,7 @@
// License along with this program ; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// $Id: FedTime.cc,v 3.15.4.1 2009/01/05 13:34:50 gotthardp Exp $
+// $Id: FedTime.cc,v 3.15.4.2 2009/01/05 15:22:34 gotthardp Exp $
// ----------------------------------------------------------------------------
#include <math.h>
@@ -101,7 +101,7 @@
}
// ----------------------------------------------------------------------------
-inline bool
+bool
FedTime::isPositiveInfinity() const
{
return bool(_fedTime == _positiveInfinity);
@@ -376,8 +376,9 @@
}
// ----------------------------------------------------------------------------
+namespace certi {
std::ostream &
-certi::operator<<(std::ostream &s, const FedTime &time)
+operator<<(std::ostream &s, const FedTime &time)
{
if (time.isPositiveInfinity())
s << infinity_str ;
@@ -385,7 +386,7 @@
s << time.getTime();
return s ;
}
-
+}
// ============================================================================
// ----------------------------------------------------------------------------
@@ -420,5 +421,5 @@
return fedtime ;
}
-// $Id: FedTime.cc,v 3.15.4.1 2009/01/05 13:34:50 gotthardp Exp $
+// $Id: FedTime.cc,v 3.15.4.2 2009/01/05 15:22:34 gotthardp Exp $
Index: libCERTI/SocketMC.cc
===================================================================
RCS file: /cvsroot/certi/certi/libCERTI/SocketMC.cc,v
retrieving revision 3.16
retrieving revision 3.16.4.1
diff -u -b -r3.16 -r3.16.4.1
--- libCERTI/SocketMC.cc 2 Nov 2008 12:54:40 -0000 3.16
+++ libCERTI/SocketMC.cc 5 Jan 2009 15:22:35 -0000 3.16.4.1
@@ -32,6 +32,7 @@
#endif
#include <cassert>
#include <cstdlib>
+#include <cstring>
namespace certi {
Index: libRTI/RTIfedTime.cc
===================================================================
RCS file: /cvsroot/certi/certi/libRTI/Attic/RTIfedTime.cc,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -b -r1.1.2.1 -r1.1.2.2
--- libRTI/RTIfedTime.cc 5 Jan 2009 13:34:52 -0000 1.1.2.1
+++ libRTI/RTIfedTime.cc 5 Jan 2009 15:22:35 -0000 1.1.2.2
@@ -148,7 +148,7 @@
}
// ----------------------------------------------------------------------------
-inline RTI::Boolean
+RTI::Boolean
RTIfedTime::isPositiveInfinity()
{
return RTI::Boolean(_fedTime == _positiveInfinity);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [certi-cvs] certi libCERTI/FedTime.cc libCERTI/SocketMC.cc ... [br_DEV_NoCircularRef],
certi-cvs <=