diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-10-30 11:59:36 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-10-30 11:59:36 +0100 |
commit | d0d31db28c81559e0c4c0f93fafc9b6e762eb817 (patch) | |
tree | 6f559601859c3547d427a9f5017e7d5a19c74763 /src/dabInputPrbs.cpp | |
parent | f21352094c0949b643721ee5387fefae0cdab507 (diff) | |
download | dabmux-d0d31db28c81559e0c4c0f93fafc9b6e762eb817.tar.gz dabmux-d0d31db28c81559e0c4c0f93fafc9b6e762eb817.tar.bz2 dabmux-d0d31db28c81559e0c4c0f93fafc9b6e762eb817.zip |
Make DabInputBase::open take a reference
Diffstat (limited to 'src/dabInputPrbs.cpp')
-rw-r--r-- | src/dabInputPrbs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |