~swag/armagetronad/0.2.9-sty+ct+ap-fork

« back to all changes in this revision

Viewing changes to src/tools/tHeap.h

  • Committer: Daniel Lee Harple
  • Date: 2011-05-24 02:58:47 UTC
  • mto: (563.48.4 armagetronad)
  • mto: This revision was merged to the branch mainline in revision 731.
  • Revision ID: leeharple@gmail.com-20110524025847-leph6sfotflvmxkg
Fix pedantic warnings when using clang++. Mostly extra semi-colons. Also some void functions returning something, and bools used in place of NULL

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
 
109
109
template<class T> class tHeap: public tHeapBase{
110
110
public:
111
 
    tHeap(){};
112
 
    ~tHeap(){};
 
111
    tHeap(){}
 
112
    ~tHeap(){}
113
113
 
114
114
    void Insert(T *e){tHeapBase::Insert(e);}  // starts to manage object e
115
115
    void Remove(T *e){tHeapBase::Remove(e);}  // stops (does not delete e)