diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-12-11 15:56:55 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-12-11 15:56:55 +0100 |
commit | fdbea05b16e3c716b5226a1f0d45cc98561500e4 (patch) | |
tree | d6f4046b7f10e9b68d279cd3e6f33665582b6177 /src/MemlessPoly.cpp | |
parent | f0cd709e645a3d2210fce5daf80138696aac84e3 (diff) | |
download | dabmod-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.cpp | 5 |
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"); } |