Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

patch: Correct firbank.cpp syntax


  • To: VSIPL++ Developers List <vsipl++@xxxxxxxxxxxxxxxx>
  • Subject: patch: Correct firbank.cpp syntax
  • From: Stefan Seefeld <stefan@xxxxxxxxxxxxxxxx>
  • Date: Mon, 24 Dec 2007 12:19:25 -0500

This attached patch fixes the 'make benchmark' build with Intel's icl.
GCC didn't complain about it, though I wonder whether the original code
was actually valid C++.

Committed as obvious.

Thanks,
		Stefan

-- 
Stefan Seefeld
CodeSourcery
stefan@xxxxxxxxxxxxxxxx
(650) 331-3385 x718
Index: benchmarks/hpec_kernel/firbank.cpp
===================================================================
--- benchmarks/hpec_kernel/firbank.cpp	(revision 190020)
+++ benchmarks/hpec_kernel/firbank.cpp	(working copy)
@@ -444,7 +444,7 @@
   }
 
   t_firbank_sweep_n(length_type filters, length_type coeffs)
-   : t_firbank_base<T, ImplTag>::t_firbank_base(filters, coeffs) {}
+   : t_firbank_base<T, ImplTag>(filters, coeffs) {}
 };
 
 
@@ -549,7 +549,7 @@
   }
 
   t_firbank_from_file(length_type m, length_type k, char * directory )
-   : t_firbank_base<T, ImplTag>::t_firbank_base(m, k),
+   : t_firbank_base<T, ImplTag>(m, k),
      directory_(directory)
     {}