1
0
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:
Eric Cornelius
2015-03-05 03:25:41 -05:00
parent c304dc08c4
commit 4be9719195

View File

@@ -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
}