1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Don't define Sniffer callback traits when using VS.

This commit is contained in:
Matias Fontanini
2015-04-06 09:33:30 -07:00
parent a326463160
commit 3478c7b09a
2 changed files with 2 additions and 2 deletions

View File

@@ -205,7 +205,7 @@ struct is_unsigned_integral<uint64_t> {
static const bool value = true;
};
#if TINS_IS_CXX11
#if TINS_IS_CXX11 && !defined(_MSC_VER)
// Template metaprogramming trait to determine if a functor can accept another parameter as an argument
template <class T, class P, class=void>

View File

@@ -582,7 +582,7 @@ namespace Tins {
for(iterator it = begin(); it != end(); ++it) {
try {
// If the functor returns false, we're done
#if TINS_IS_CXX11
#if TINS_IS_CXX11 && !defined(_MSC_VER)
if (!Tins::Internals::invoke_loop_cb(function, *it))
return;
#else