qepcad-B/qepcad-B-destructor.patch

126 lines
2.8 KiB
Diff
Raw Normal View History

2014-02-14 19:17:12 +00:00
--- ./plot2d/plot.cc.orig 2012-03-16 06:49:32.000000000 -0600
+++ ./plot2d/plot.cc 2013-08-30 16:51:16.409298807 -0600
@@ -37,6 +37,7 @@ class CADELT
public:
virtual bool read(istream &in) = 0;
virtual void glRend(const CADColors &C) = 0;
+ virtual ~CADELT() {}
};
class SNoverSR : public CADELT
--- ./extensions/rend/Rend_Sample.cc.orig 2012-03-16 06:49:31.000000000 -0600
+++ ./extensions/rend/Rend_Sample.cc 2013-08-30 16:59:11.255885740 -0600
@@ -40,11 +40,6 @@ Rend_Sample_1DS::Rend_Sample_1DS(Word C,
}
-Rend_Sample_1DS::~Rend_Sample_1DS()
-{
-
-}
-
/*************************************************************
** Refines I to 2^k or less, and returns binary rational
** middle of interval.
@@ -112,13 +107,6 @@ Rend_Sample_1DO::Rend_Sample_1DO(Rend_Ce
L.W = NIL;
}
-
-Rend_Sample_1DO::~Rend_Sample_1DO()
-{
-
-}
-
-
Word Rend_Sample_1DO::coordinate(int k)
{
Word e,j1,j2,J,kp = k;
@@ -178,11 +166,6 @@ Rend_Sample_2DS::Rend_Sample_2DS(Word C)
}
-Rend_Sample_2DS::~Rend_Sample_2DS()
-{
-
-}
-
/*************************************************************
** Refines I to 2^k or less, and returns binary rational
** lower endpoint.
@@ -237,11 +220,6 @@ Rend_Sample_2DC::Rend_Sample_2DC(Word C,
}
-Rend_Sample_2DC::~Rend_Sample_2DC()
-{
-
-}
-
Word Rend_Sample_2DC::coordinate(int k)
{
return L.W;
@@ -265,11 +243,6 @@ Rend_Sample_BR::Rend_Sample_BR(Word a)
N.W = a;
}
-Rend_Sample_BR::~Rend_Sample_BR()
-{
-
-}
-
Word Rend_Sample_BR::coordinate(int k)
{
return N.W;
--- ./extensions/rend/Rend_Sample.h.orig 2012-03-16 06:49:31.000000000 -0600
+++ ./extensions/rend/Rend_Sample.h 2013-08-30 16:58:37.015983821 -0600
@@ -32,7 +32,7 @@ class Rend_Sample
virtual Word coordinate(int k) = 0;
virtual Word round(int k,int roundup)
{ return this -> coordinate(k); }
- // virtual ~Rend_Sample() = 0;
+ virtual ~Rend_Sample() {}
};
class Rend_Sample_1DS : public Rend_Sample
@@ -49,7 +49,6 @@ private:
gcmemloc A,I;
public:
Rend_Sample_1DS(Word C, Word P);
- virtual ~Rend_Sample_1DS();
virtual Word coordinate(int k);
virtual Word round(int k, int roundup);
Word weakcompare(Word R);
@@ -66,7 +65,6 @@ public:
gcmemloc L;
public:
Rend_Sample_1DO(Rend_Cell *dad);
- virtual ~Rend_Sample_1DO();
virtual Word coordinate(int k);
};
@@ -86,7 +84,6 @@ private:
gcmemloc A,I;
public:
Rend_Sample_2DS(Word C);
- virtual ~Rend_Sample_2DS();
virtual Word coordinate(int k);
};
@@ -101,7 +98,6 @@ public:
gcmemloc L;
public:
Rend_Sample_2DC(Word C,Word P);
- virtual ~Rend_Sample_2DC();
virtual Word coordinate(int k);
void add_point(Word p);
void clear_points();
@@ -116,7 +112,6 @@ private:
gcmemloc N;
public:
Rend_Sample_BR(Word a);
- virtual ~Rend_Sample_BR();
virtual Word coordinate(int k);
};