From: wolf Date: Wed, 16 Oct 2002 15:42:01 +0000 (+0000) Subject: Make this test a little easier to read, by compressing the Test class declaration X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b0379d76466552d038f5b5475298fa1745e8b30;p=dealii-svn.git Make this test a little easier to read, by compressing the Test class declaration git-svn-id: https://svn.dealii.org/trunk@6662 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/base/reference.cc b/tests/base/reference.cc index 230bd8307a..7ce50b78f1 100644 --- a/tests/base/reference.cc +++ b/tests/base/reference.cc @@ -28,23 +28,10 @@ class Test : public Subscriptor { const char* name; public: - Test(const char* n) : - name(n) - { - deallog << "Construct " << name << std::endl; - } - ~Test() - { - deallog << "Destruct " << name << std::endl; - } - void f() - { - deallog << "mutable" << std::endl; - } - void f() const - { - deallog << "const" << std::endl; - } + Test(const char* n) : name(n) { deallog << "Construct " << name << std::endl; } + ~Test() { deallog << "Destruct " << name << std::endl; } + void f() { deallog << "mutable" << std::endl; } + void f() const { deallog << "const" << std::endl; } };