diff options
Diffstat (limited to 'gnuradio-runtime')
-rw-r--r-- | gnuradio-runtime/include/gnuradio/rpcregisterhelpers.h | 6 | ||||
-rw-r--r-- | gnuradio-runtime/lib/block.cc | 2 | ||||
-rw-r--r-- | gnuradio-runtime/lib/controlport/rpcmanager.cc | 2 | ||||
-rw-r--r-- | gnuradio-runtime/lib/logger.cc | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/gnuradio-runtime/include/gnuradio/rpcregisterhelpers.h b/gnuradio-runtime/include/gnuradio/rpcregisterhelpers.h index 83c57967cc..8ab2548cee 100644 --- a/gnuradio-runtime/include/gnuradio/rpcregisterhelpers.h +++ b/gnuradio-runtime/include/gnuradio/rpcregisterhelpers.h @@ -61,7 +61,7 @@ public: (void)which_port; (void)msg; throw std::runtime_error( - "rpcextractor_base: no post defined for this data type.\n"); + "rpcextractor_base: no post defined for this data type."); } protected: @@ -81,7 +81,7 @@ public: (void)which_port; (void)msg; throw std::runtime_error( - "rpcextractor_base: no post defined for this data type.\n"); + "rpcextractor_base: no post defined for this data type."); } protected: @@ -1543,7 +1543,7 @@ public: { throw std::runtime_error( "ERROR: rpcbasic_register_variable_rw called with no args. if this happens " - "someone used rpcbasic_register_variable_rw incorrectly.\n"); + "someone used rpcbasic_register_variable_rw incorrectly."); }; void set(Tfrom _variable) diff --git a/gnuradio-runtime/lib/block.cc b/gnuradio-runtime/lib/block.cc index 5914283908..b3a9bcc4dc 100644 --- a/gnuradio-runtime/lib/block.cc +++ b/gnuradio-runtime/lib/block.cc @@ -287,7 +287,7 @@ void block::set_max_noutput_items(int m) { if (m <= 0) throw std::runtime_error("block::set_max_noutput_items: value for " - "max_noutput_items must be greater than 0.\n"); + "max_noutput_items must be greater than 0."); d_max_noutput_items = m; d_max_noutput_items_set = true; diff --git a/gnuradio-runtime/lib/controlport/rpcmanager.cc b/gnuradio-runtime/lib/controlport/rpcmanager.cc index aa9fc08cde..423bf44d3d 100644 --- a/gnuradio-runtime/lib/controlport/rpcmanager.cc +++ b/gnuradio-runtime/lib/controlport/rpcmanager.cc @@ -54,6 +54,6 @@ void rpcmanager::register_booter(rpcserver_booter_base* booter) booter_registered = true; } else { throw std::runtime_error("rpcmanager: Aggregator not in use, and a rpc booter is " - "already registered\n"); + "already registered"); } } diff --git a/gnuradio-runtime/lib/logger.cc b/gnuradio-runtime/lib/logger.cc index ce2772cadf..6bcac914ed 100644 --- a/gnuradio-runtime/lib/logger.cc +++ b/gnuradio-runtime/lib/logger.cc @@ -194,7 +194,7 @@ void logger_set_level(logger_ptr logger, const std::string& level) else if (nocase == "emerg") logger_set_level(logger, log4cpp::Priority::EMERG); else - throw std::runtime_error("logger_set_level: Bad level type.\n"); + throw std::runtime_error("logger_set_level: Bad level type."); } void logger_set_level(logger_ptr logger, log4cpp::Priority::Value level) |