Packtes: Add missing 'nothrow' parameters
[senf.git] / Packets / Packet.cc
index bd3ce57..b770e93 100644 (file)
@@ -50,10 +50,10 @@ prefix_ senf::Packet senf::Packet::checkLast()
     const
 {
     Packet p (*this);
-    Packet n (p.next());
+    Packet n (p.next(nothrow));
     while (n) {
         p = n;
-        n = p.next();
+        n = p.next(nothrow);
     }
     return p;
 }