~azzar1/compiz/fix-1234624

« back to all changes in this revision

Viewing changes to tests/shared/gtest_shared_asynctask.h

  • Committer: Tarmac
  • Author(s): Eleni Maria Stea
  • Date: 2013-11-04 23:00:12 UTC
  • mfrom: (3799.1.1 compiz)
  • Revision ID: tarmac-20131104230012-n7t1z9ro7sod36lw
Compiz static analysis shows that some compiz classes have virtual methods but not virtual destructors. Added the virtual destructors to get rid of warnings and potential memory leaks.

Approved by Christopher Townsend, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
        typedef boost::shared_ptr <AsyncTask> Ptr;
33
33
 
34
34
        AsyncTask ();
35
 
        ~AsyncTask ();
 
35
        virtual ~AsyncTask ();
36
36
 
37
37
        void SendMsgToTask (char msg);
38
38
        bool ReadMsgFromTask (char msg, int maximumWait);