From 0ac7e3f858283bae88620690154e40d1c60c8e27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Hunold?= Date: Sun, 2 Dec 2007 11:51:08 +0000 Subject: [PATCH] Revert revisions 41544 and 41549. See http://lists.boost.org/Archives/boost/2007/12/131116.php for details. [SVN r41577] --- test/bienstman1.cpp | 2 +- test/bienstman3.cpp | 1 - test/implicit.cpp | 1 - test/pointer_vector.cpp | 1 - test/shared_ptr.cpp | 1 - test/wrapper_held_type.cpp | 1 - 6 files changed, 1 insertion(+), 6 deletions(-) diff --git a/test/bienstman1.cpp b/test/bienstman1.cpp index dc006578..281c89aa 100644 --- a/test/bienstman1.cpp +++ b/test/bienstman1.cpp @@ -11,7 +11,7 @@ struct A {}; struct V { - virtual ~V() {}; // silence compiler warningsa + virtual void f() = 0; const A* inside() {return &a;} diff --git a/test/bienstman3.cpp b/test/bienstman3.cpp index d765b303..1a8a7714 100644 --- a/test/bienstman3.cpp +++ b/test/bienstman3.cpp @@ -7,7 +7,6 @@ struct V { - virtual ~V() {}; // silence compiler warningsa virtual void f() = 0; }; diff --git a/test/implicit.cpp b/test/implicit.cpp index a1bae59e..61ca21a7 100644 --- a/test/implicit.cpp +++ b/test/implicit.cpp @@ -24,7 +24,6 @@ X make_x(int n) { return X(n); } struct bar {}; struct foo { - virtual ~foo() {}; // silence compiler warnings virtual void f() = 0; operator bar() const { return bar(); } }; diff --git a/test/pointer_vector.cpp b/test/pointer_vector.cpp index 08cd4861..c1f7dbd4 100644 --- a/test/pointer_vector.cpp +++ b/test/pointer_vector.cpp @@ -10,7 +10,6 @@ using namespace boost::python; class Abstract { public: - virtual ~Abstract() {}; // silence compiler warningsa virtual std::string f() =0; }; diff --git a/test/shared_ptr.cpp b/test/shared_ptr.cpp index e5f20a73..ee007abd 100644 --- a/test/shared_ptr.cpp +++ b/test/shared_ptr.cpp @@ -129,7 +129,6 @@ shared_ptr factory(int n) // regressions from Nicodemus struct A { - virtual ~A() {}; // silence compiler warnings virtual int f() = 0; static int call_f(shared_ptr& a) { return a->f(); } }; diff --git a/test/wrapper_held_type.cpp b/test/wrapper_held_type.cpp index e9942279..d5afface 100755 --- a/test/wrapper_held_type.cpp +++ b/test/wrapper_held_type.cpp @@ -13,7 +13,6 @@ struct data { - virtual ~data() {}; // silence compiler warnings virtual int id() const { return 42;