From d0d31db28c81559e0c4c0f93fafc9b6e762eb817 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 30 Oct 2016 11:59:36 +0100 Subject: Make DabInputBase::open take a reference --- src/dabInputPrbs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dabInputPrbs.cpp') diff --git a/src/dabInputPrbs.cpp b/src/dabInputPrbs.cpp index f9a62b5..2678668 100644 --- a/src/dabInputPrbs.cpp +++ b/src/dabInputPrbs.cpp @@ -42,7 +42,7 @@ using namespace std; // Preferred polynomial is G(x) = x^20 + x^17 + 1 const uint32_t PRBS_DEFAULT_POLY = (1 << 19) | (1 << 16) | 1; -int DabInputPrbs::open(const string name) +int DabInputPrbs::open(const string& name) { if (name.empty()) { m_prbs.setup(PRBS_DEFAULT_POLY); -- cgit v1.2.3