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: Sat Apr 20 01:49:13 CEST 2024
Total time taken to generate the page: 0.05632 seconds
|