Fixes an uninitialized field in class OsStackTraceGetter.

pull/496/merge
zhanyong.wan 15 years ago
parent 6149876141
commit 1da9ceefa5
  1. 2
      src/gtest-internal-inl.h

@ -606,7 +606,7 @@ class OsStackTraceGetterInterface {
// A working implementation of the OsStackTraceGetterInterface interface.
class OsStackTraceGetter : public OsStackTraceGetterInterface {
public:
OsStackTraceGetter() {}
OsStackTraceGetter() : caller_frame_(NULL) {}
virtual String CurrentStackTrace(int max_depth, int skip_count);
virtual void UponLeavingGTest();

Loading…
Cancel
Save