summaryrefslogtreecommitdiffstats
path: root/src/MemlessPoly.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-11 15:56:55 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-11 15:56:55 +0100
commitfdbea05b16e3c716b5226a1f0d45cc98561500e4 (patch)
treed6f4046b7f10e9b68d279cd3e6f33665582b6177 /src/MemlessPoly.cpp
parentf0cd709e645a3d2210fce5daf80138696aac84e3 (diff)
downloaddabmod-fdbea05b16e3c716b5226a1f0d45cc98561500e4.tar.gz
dabmod-fdbea05b16e3c716b5226a1f0d45cc98561500e4.tar.bz2
dabmod-fdbea05b16e3c716b5226a1f0d45cc98561500e4.zip
Fix all the warnings shown since previous commit
Diffstat (limited to 'src/MemlessPoly.cpp')
-rw-r--r--src/MemlessPoly.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/MemlessPoly.cpp b/src/MemlessPoly.cpp
index f223d34..ae097c9 100644
--- a/src/MemlessPoly.cpp
+++ b/src/MemlessPoly.cpp
@@ -38,7 +38,7 @@
#include <stdio.h>
#include <stdexcept>
-
+#include <string>
#include <future>
#include <array>
#include <iostream>
@@ -370,9 +370,6 @@ int MemlessPoly::internal_process(Buffer* const dataIn, Buffer* dataOut)
void MemlessPoly::set_parameter(const string& parameter, const string& value)
{
- stringstream ss(value);
- ss.exceptions ( stringstream::failbit | stringstream::badbit );
-
if (parameter == "ncoefs") {
throw ParameterError("Parameter 'ncoefs' is read-only");
}