diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-01-20 22:09:21 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-01-20 22:09:21 +0100 |
commit | 64105cd84307c091e3dd2bea2727edf6bdf58ed6 (patch) | |
tree | 4722e8e75b9fe859aa6e53697df612a1e05a5693 /src/InputZeroMQReader.cpp | |
parent | 3f094996520fbf006a567873bc9da4d1b430345f (diff) | |
download | dabmod-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.cpp | 2 |
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()); } } |