diff options
author | Thomas Habets <thomas@habets.se> | 2019-12-21 19:38:44 +0000 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2020-01-01 19:40:43 -0800 |
commit | 183a35ee554fd2034acbc5ac91e32abd046d5de1 (patch) | |
tree | eb77ac056d06a81c2a9e2c9f7b4901cac63077d3 /gr-audio/lib | |
parent | 24725470892c770b8f0cd5f839588a8a5125caa6 (diff) |
Remove newlines from exception messages
Diffstat (limited to 'gr-audio/lib')
-rw-r--r-- | gr-audio/lib/osx/circular_buffer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gr-audio/lib/osx/circular_buffer.h b/gr-audio/lib/osx/circular_buffer.h index c18f2464cb..3b3ed8d9c8 100644 --- a/gr-audio/lib/osx/circular_buffer.h +++ b/gr-audio/lib/osx/circular_buffer.h @@ -82,7 +82,7 @@ public: { if (bufLen_I == 0) throw std::runtime_error("circular_buffer(): " - "Number of items to buffer must be > 0.\n"); + "Number of items to buffer must be > 0."); d_bufLen_I = bufLen_I; d_buffer = (T*)new T[d_bufLen_I]; d_doWriteBlock = doWriteBlock; @@ -176,7 +176,7 @@ public: return (0); if (!buf) throw std::runtime_error("circular_buffer::enqueue(): " - "input buffer is NULL.\n"); + "input buffer is NULL."); gr::thread::scoped_lock l(*d_internal); if (d_doAbort) { return (2); @@ -253,10 +253,10 @@ public: << ", #av_rd = " << d_n_avail_read_I << std::endl); if (!bufLen_I) throw std::runtime_error("circular_buffer::dequeue(): " - "input bufLen pointer is NULL.\n"); + "input bufLen pointer is NULL."); if (!buf) throw std::runtime_error("circular_buffer::dequeue(): " - "input buffer pointer is NULL.\n"); + "input buffer pointer is NULL."); size_t l_bufLen_I = *bufLen_I; if (l_bufLen_I == 0) return (0); |