summaryrefslogtreecommitdiffstats
path: root/src/InputZeroMQReader.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-01-20 22:09:21 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-01-20 22:09:21 +0100
commit64105cd84307c091e3dd2bea2727edf6bdf58ed6 (patch)
tree4722e8e75b9fe859aa6e53697df612a1e05a5693 /src/InputZeroMQReader.cpp
parent3f094996520fbf006a567873bc9da4d1b430345f (diff)
downloaddabmod-64105cd84307c091e3dd2bea2727edf6bdf58ed6.tar.gz
dabmod-64105cd84307c091e3dd2bea2727edf6bdf58ed6.tar.bz2
dabmod-64105cd84307c091e3dd2bea2727edf6bdf58ed6.zip
fix some errors seen by cppcheck
Diffstat (limited to 'src/InputZeroMQReader.cpp')
-rw-r--r--src/InputZeroMQReader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/InputZeroMQReader.cpp b/src/InputZeroMQReader.cpp
index e689e4c..8bea761 100644
--- a/src/InputZeroMQReader.cpp
+++ b/src/InputZeroMQReader.cpp
@@ -114,7 +114,7 @@ void InputZeroMQWorker::RecvProcess(struct InputZeroMQThreadData* workerdata)
}
}
}
- catch ( zmq::error_t err ) {
+ catch (zmq::error_t& err) {
printf("ZeroMQ error in RecvProcess: '%s'\n", err.what());
}
}