Third issue:
Somebody messed up std.perf. Doesn't measure anything anymore.

This is the new version, line 95:

interval_t freq;
if (QueryPerformanceFrequency(&freq))
        sm_freq =   freq;
else
        sm_freq =   1000;
sm_fn   =   &_qtc;


sm_fn isn't assigned and the brackets aren't correct (right?)

This is the old version:

if(QueryPerformanceFrequency(&sm_freq))
{
        sm_fn   =   &_qpc;
}
else
{
        sm_freq =   1000;
        sm_fn   =   &_qtc;
}


I don't even know why another variable is used. If QueryPerformanceFrequency succeeds, sm_freq is already set; else it gets overwritten in the else clause.
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta

Reply via email to