Commit 021f3f24 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

cppcheck warning removed (exception in pkt6.cc caught by reference)

parent 937b5a6f
......@@ -120,7 +120,7 @@ Pkt6::packUDP() {
<< length << ", actual len=" << offset);
}
}
catch (Exception e) {
catch (const Exception& e) {
cout << "Packet build failed:" << e.what() << endl;
return (false);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment