~unity-team/unity/trusty-1066971

« back to all changes in this revision

Viewing changes to unity-shared/MockableBaseWindow.h

  • Committer: Eleni Maria Stea
  • Date: 2013-11-06 11:21:43 UTC
  • mto: This revision was merged to the branch mainline in revision 3597.
  • Revision ID: elenimaria.stea@canonical.com-20131106112143-zeryl57kwa3oc8gc
added virtual destructors in classes that have virtual methods
to prevent future memory leaks

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
    : nux::BaseWindow(window_name, NUX_TRACKER_LOCATION)
38
38
    , struts_enabled_(false)
39
39
  {}
 
40
  virtual ~MockableBaseWindow() {}
40
41
 
41
42
  /**
42
43
   * Sets the window opacity.