In the class test reset the timer:
    {
        auto h = new HClass();
        sw.reset(); // <-
        sw.start();
    }

Reply via email to