From 0666cc999e772d3de8b8f4200850d6a1bc0a2dbc Mon Sep 17 00:00:00 2001 From: Michael West Date: Mon, 28 Oct 2013 12:47:31 -0700 Subject: CID 1104334: Fixed big parameter passed by value. --- host/lib/usrp/dboard/db_tvrx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib/usrp/dboard') diff --git a/host/lib/usrp/dboard/db_tvrx.cpp b/host/lib/usrp/dboard/db_tvrx.cpp index edee46cd5..e9f60f765 100644 --- a/host/lib/usrp/dboard/db_tvrx.cpp +++ b/host/lib/usrp/dboard/db_tvrx.cpp @@ -267,7 +267,7 @@ static std::string get_band(double freq) { * \return a voltage to feed the TVRX analog gain */ -static double gain_interp(double gain, boost::array db_vector, boost::array volts_vector) { +static double gain_interp(double gain, const boost::array& db_vector, const boost::array& volts_vector) { double volts; gain = uhd::clip(gain, db_vector.front(), db_vector.back()); //let's not get carried away here -- cgit v1.2.3