From: Benjamin Kosnik Date: Tue, 23 Dec 1997 00:04:13 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eeaf420b472bc097709c69c5509b43b5693b3cab;p=gcc.git *** empty log message *** From-SVN: r17202 --- diff --git a/gcc/testsuite/g++.old-deja/g++.benjamin/tem01.C b/gcc/testsuite/g++.old-deja/g++.benjamin/tem01.C index b8b546dc6fd..e464c0e2e4b 100644 --- a/gcc/testsuite/g++.old-deja/g++.benjamin/tem01.C +++ b/gcc/testsuite/g++.old-deja/g++.benjamin/tem01.C @@ -1,10 +1,6 @@ // Build don't link: // prms-id: 13911 - - - - template class ref_counter { public: @@ -38,12 +34,12 @@ public: ref_pointer(T* just_newed) : the_p(just_newed) {} virtual ~ref_pointer() {if (unique()) delete the_p;} protected: - ref_pointer::ref_pointer(T* the_p_arg, ref_counter& ref_count_arg) + ref_pointer(T* the_p_arg, ref_counter& ref_count_arg) : the_p(the_p_arg), ref_count(ref_count_arg) {} public: - ref_pointer& operator=(const ref_pointer&); + ref_pointer& operator=(const ref_pointer&); ref_pointer& operator=(T*); operator const T*() const {return the_p;} T* operator()() {return the_p;}