Add virtual ~Thread() to avoid warnings.
author <shinichiro.hamaji@gmail.com> <>
Mon, 27 Jul 2009 05:30:39 +0000 (05:30 +0000)
committer <shinichiro.hamaji@gmail.com> <>
Mon, 27 Jul 2009 05:30:39 +0000 (05:30 +0000)
git-svn-id: https://google-glog.googlecode.com/svn/trunk@58 eb4d4688-79bd-11dd-afb4-1d65580434c0

src/googletest.h

index 09f18fc..ca5567e 100644 (file)
@@ -525,6 +525,8 @@ struct FlagSaver {
 
 class Thread {
  public:
+  virtual ~Thread() {}
+
   void SetJoinable(bool joinable) {}
 #if defined(HAVE_PTHREAD)
   void Start() {