summaryrefslogtreecommitdiff
path: root/gr-vocoder/lib
diff options
context:
space:
mode:
authorThomas Habets <thomas@habets.se>2019-12-21 19:38:44 +0000
committerMartin Braun <martin.braun@ettus.com>2020-01-01 19:40:43 -0800
commit183a35ee554fd2034acbc5ac91e32abd046d5de1 (patch)
treeeb77ac056d06a81c2a9e2c9f7b4901cac63077d3 /gr-vocoder/lib
parent24725470892c770b8f0cd5f839588a8a5125caa6 (diff)
Remove newlines from exception messages
Diffstat (limited to 'gr-vocoder/lib')
-rw-r--r--gr-vocoder/lib/cvsd_decode_bs_impl.cc4
-rw-r--r--gr-vocoder/lib/cvsd_encode_sb_impl.cc4
2 files changed, 4 insertions, 4 deletions
diff --git a/gr-vocoder/lib/cvsd_decode_bs_impl.cc b/gr-vocoder/lib/cvsd_decode_bs_impl.cc
index 103ebfcc5d..85126f0f1b 100644
--- a/gr-vocoder/lib/cvsd_decode_bs_impl.cc
+++ b/gr-vocoder/lib/cvsd_decode_bs_impl.cc
@@ -71,10 +71,10 @@ cvsd_decode_bs_impl::cvsd_decode_bs_impl(short min_step,
d_stepsize(min_step)
{
if (d_K > 32)
- throw std::runtime_error("cvsd_decode_bs_impl: K must be <= 32\n");
+ throw std::runtime_error("cvsd_decode_bs_impl: K must be <= 32");
if (d_J > d_K)
- throw std::runtime_error("cvsd_decode_bs_impl: J must be <= K\n");
+ throw std::runtime_error("cvsd_decode_bs_impl: J must be <= K");
}
cvsd_decode_bs_impl::~cvsd_decode_bs_impl()
diff --git a/gr-vocoder/lib/cvsd_encode_sb_impl.cc b/gr-vocoder/lib/cvsd_encode_sb_impl.cc
index 26766fbf02..262ec0f5d3 100644
--- a/gr-vocoder/lib/cvsd_encode_sb_impl.cc
+++ b/gr-vocoder/lib/cvsd_encode_sb_impl.cc
@@ -70,10 +70,10 @@ cvsd_encode_sb_impl::cvsd_encode_sb_impl(short min_step,
d_stepsize(min_step)
{
if (d_K > 32)
- throw std::runtime_error("cvsd_decode_bs_impl: K must be <= 32\n");
+ throw std::runtime_error("cvsd_decode_bs_impl: K must be <= 32");
if (d_J > d_K)
- throw std::runtime_error("cvsd_decode_bs_impl: J must be <= K\n");
+ throw std::runtime_error("cvsd_decode_bs_impl: J must be <= K");
}
cvsd_encode_sb_impl::~cvsd_encode_sb_impl()