summaryrefslogtreecommitdiffstats
path: root/src/MuxElements.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-04-23 09:10:35 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-04-23 09:10:35 +0200
commit606e22abcf8b9f3c3d63ccc8ccf8ae4020c6ffd3 (patch)
treee067c99ea946ba4877e12e3939c7fe6433d94f6f /src/MuxElements.cpp
parent262a43fc5dcc04731a8951ee44555f582f7e8106 (diff)
downloaddabmux-606e22abcf8b9f3c3d63ccc8ccf8ae4020c6ffd3.tar.gz
dabmux-606e22abcf8b9f3c3d63ccc8ccf8ae4020c6ffd3.tar.bz2
dabmux-606e22abcf8b9f3c3d63ccc8ccf8ae4020c6ffd3.zip
Enable and take care of some warnings
Diffstat (limited to 'src/MuxElements.cpp')
-rw-r--r--src/MuxElements.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/MuxElements.cpp b/src/MuxElements.cpp
index e8871d1..4b40b10 100644
--- a/src/MuxElements.cpp
+++ b/src/MuxElements.cpp
@@ -224,9 +224,6 @@ bool DabComponent::isPacketComponent(vector<dabSubchannel*>& subchannels)
void DabComponent::set_parameter(const string& parameter,
const string& value)
{
- stringstream ss(value);
- ss.exceptions ( stringstream::failbit | stringstream::badbit );
-
if (parameter == "label") {
vector<string> fields;
boost::split(fields, value, boost::is_any_of(","));
@@ -322,9 +319,6 @@ unsigned char DabService::nbComponent(vector<DabComponent*>& components)
void DabService::set_parameter(const string& parameter,
const string& value)
{
- stringstream ss(value);
- ss.exceptions ( stringstream::failbit | stringstream::badbit );
-
if (parameter == "label") {
vector<string> fields;
boost::split(fields, value, boost::is_any_of(","));
@@ -388,9 +382,6 @@ const string DabService::get_parameter(const string& parameter) const
void dabEnsemble::set_parameter(const string& parameter, const string& value)
{
- stringstream ss(value);
- ss.exceptions ( stringstream::failbit | stringstream::badbit );
-
if (parameter == "localtimeoffset") {
if (value == "auto") {
lto_auto = true;