diff --git a/test/boost_no_mem_func_spec.ipp b/test/boost_no_mem_func_spec.ipp index a328b59d..6abef369 100644 --- a/test/boost_no_mem_func_spec.ipp +++ b/test/boost_no_mem_func_spec.ipp @@ -16,10 +16,10 @@ template class foo { public: - foo(); - foo(const T&); - ~foo(); - int bar(); + foo(); + foo(const T&); + ~foo(); + int bar(); }; // declare specialisations: @@ -43,11 +43,11 @@ template<> int foo::bar(){ return 1; } int test() { - foo f1; - foo f2; - f1.bar(); - f2.bar(); - return 0; + foo f1; + foo f2; + f1.bar(); + f2.bar(); + return 0; } diff --git a/test/boost_no_template_template.ipp b/test/boost_no_template_template.ipp index 14dc6e8d..19102f29 100644 --- a/test/boost_no_template_template.ipp +++ b/test/boost_no_template_template.ipp @@ -16,26 +16,26 @@ template class foo { public: - foo(){}; - foo(const T&){}; - const foo& bar()const{ return *this; } - foo& operator=(const foo&){ return *this; } + foo(){}; + foo(const T&){}; + const foo& bar()const{ return *this; } + foo& operator=(const foo&){ return *this; } }; template class U> U sinhc_pi(const U x) { - return x.bar(); + return x.bar(); } int test() { - foo f1; - foo f2; - f1 = sinhc_pi(f1); - f2 = sinhc_pi(f2); - return 0; + foo f1; + foo f2; + f1 = sinhc_pi(f1); + f2 = sinhc_pi(f2); + return 0; }