[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[certi-cvs] certi/libHLA WinClock.cc
From: |
certi-cvs |
Subject: |
[certi-cvs] certi/libHLA WinClock.cc |
Date: |
Sun, 21 Mar 2010 18:06:41 +0000 |
CVSROOT: /sources/certi
Module name: certi
Changes by: Petr Gotthard <gotthardp> 10/03/21 18:06:41
Modified files:
libHLA : WinClock.cc
Log message:
Fixed build error under Visual Studio.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/libHLA/WinClock.cc?cvsroot=certi&r1=1.1&r2=1.2
Patches:
Index: WinClock.cc
===================================================================
RCS file: /sources/certi/certi/libHLA/WinClock.cc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- WinClock.cc 21 Mar 2010 17:10:10 -0000 1.1
+++ WinClock.cc 21 Mar 2010 18:06:41 -0000 1.2
@@ -4,7 +4,8 @@
#include <string.h>
#include <time.h>
-namespace certi {
+namespace libhla {
+namespace clock {
WinClock::WinClock() : Clock("WinClock")
{
@@ -18,7 +19,7 @@
uint64_t WinClock::getCurrentTicksValue()
{
- return static_cast<uint64_t>(clock());
+ return static_cast<uint64_t>(::clock());
}
double WinClock::tick2NanoSecond(const uint64_t ticks)
@@ -30,4 +31,5 @@
{
}
-}
+} /* end namespace clock */
+} /* end namespace libhla */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [certi-cvs] certi/libHLA WinClock.cc,
certi-cvs <=