*** empty log message ***
authorBenjamin Kosnik <bkoz@gcc.gnu.org>
Tue, 23 Dec 1997 00:04:13 +0000 (00:04 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Tue, 23 Dec 1997 00:04:13 +0000 (00:04 +0000)
From-SVN: r17202

gcc/testsuite/g++.old-deja/g++.benjamin/tem01.C

index b8b546dc6fd947cf079a5bd5117a2f4ea4c1bc54..e464c0e2e4ba0f7c6b0e3dcc5b4946fae2f25451 100644 (file)
@@ -1,10 +1,6 @@
 // Build don't link: 
 // prms-id: 13911
 
-
-
-
 template<unsigned int N>
 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<N>& ref_count_arg)
+  ref_pointer(T* the_p_arg, ref_counter<N>& ref_count_arg)
     : the_p(the_p_arg), ref_count(ref_count_arg) {}               
 
 public:
    
-  ref_pointer& operator=(const ref_pointer<T, N>&); 
+  ref_pointer& operator=(const ref_pointer&); 
   ref_pointer& operator=(T*);                         
   operator const T*() const {return the_p;}
   T* operator()() {return the_p;}