From 552c2aa5e5900697e3f2bcc38dc381662af5b8d6 Mon Sep 17 00:00:00 2001 From: michaelld <michaelld@221aa14e-8319-0410-a670-987f0aec2ac5> Date: Tue, 6 Feb 2007 23:26:05 +0000 Subject: Added explicit template instantiation. Removed unneeded non-template code. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4400 221aa14e-8319-0410-a670-987f0aec2ac5 --- gr-trellis/src/lib/quicksort_index.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'gr-trellis/src/lib/quicksort_index.h') diff --git a/gr-trellis/src/lib/quicksort_index.h b/gr-trellis/src/lib/quicksort_index.h index 8f87023541..b519b66c9d 100644 --- a/gr-trellis/src/lib/quicksort_index.h +++ b/gr-trellis/src/lib/quicksort_index.h @@ -1,6 +1,6 @@ /* -*- c++ -*- */ /* - * Copyright 2004 Free Software Foundation, Inc. + * Copyright 2004,2007 Free Software Foundation, Inc. * * This file is part of GNU Radio * @@ -25,8 +25,11 @@ #include <vector> -template <class T> void SWAP (T & a, T & b); -template <class T> void quicksort_index(std::vector<T> & p, std::vector<int> & index, int left, int right); -void quicksort_index1(std::vector<int> & p, std::vector<int> & index, int left, int right); +template <class T> +void SWAP (T & a, T & b); + +template <class T> +void quicksort_index (std::vector<T> & p, std::vector<int> & index, + int left, int right); #endif -- cgit v1.2.3