Browse Source

[1773] missing initialization

JINMEI Tatuya 13 years ago
parent
commit
fe9349ae3a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/bench/benchmark.h

+ 1 - 1
src/lib/bench/benchmark.h

@@ -211,7 +211,7 @@ public:
     /// \param target The templated class object that
     /// implements the code to be benchmarked.
     BenchMark(const int iterations, T target) :
-        iterations_(iterations), sub_iterations_(0)
+        iterations_(iterations), sub_iterations_(0), target_(NULL)
     {
         initialize(target, true);
     }