Home » U++ Library support » U++ Core » Make TimeStop "Moveable"?
Make TimeStop "Moveable"? [message #10345] |
Tue, 03 July 2007 12:39  |
Zardos
Messages: 62 Registered: April 2007
|
Member |
|
|
Hello,
I need to store "TimeStops" in a Vector.
I changed the u++ source in Util.h from:
class TimeStop {
dword starttime;
public:
int Elapsed() const { return GetTickCount() - starttime; }
String ToString() const;
TimeStop();
};
to:
class TimeStop : public Moveable<TimeStop> {
dword starttime;
public:
int Elapsed() const { return GetTickCount() - starttime; }
String ToString() const;
TimeStop();
};
Could you introduce this change in the repository?
- Ralf
|
|
|
Goto Forum:
Current Time: Mon May 12 23:09:34 CEST 2025
Total time taken to generate the page: 0.00322 seconds
|