mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +01:00
Make sure we can still compile old loop signatures without c++11 enabled
This commit is contained in:
@@ -585,7 +585,7 @@ namespace Tins {
|
||||
if (!Tins::Internals::invoke_loop_cb(function, *it))
|
||||
return;
|
||||
#else
|
||||
if(!function(*it))
|
||||
if(!function(*it->pdu()))
|
||||
return;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user