Kaydet (Commit) 5513570b authored tarafından Luboš Luňák's avatar Luboš Luňák

add a warning to Time class that it is broken API

üst 28d84e1b
...@@ -37,6 +37,12 @@ class ResId; ...@@ -37,6 +37,12 @@ class ResId;
// - Time - // - Time -
// -------- // --------
/**
WARNING: This class can serve both as call clock time and time duration, and the mixing
of these concepts leads to problems such as there being 25 hours
or 10 minus 20 seconds being (non-negative) 10 seconds.
*/
class TOOLS_DLLPUBLIC Time class TOOLS_DLLPUBLIC Time
{ {
private: private:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment