From 71272db683ca86b8a198328f068b32790321e993 Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Thu, 21 May 2009 06:46:38 -0700 Subject: [PATCH] initialize timer in Timer unit tests --- src/simulator/timer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simulator/timer.cc b/src/simulator/timer.cc index a79f94670..8f3ac086e 100644 --- a/src/simulator/timer.cc +++ b/src/simulator/timer.cc @@ -222,7 +222,7 @@ TimerTests::RunTests (void) { bool result = true; - Timer timer; + Timer timer = Timer (Timer::CANCEL_ON_DESTROY); timer.SetFunction (&bari); timer.SetArguments (1);