#include "SocketHandle.ih"
// Custom includes
-#include "../Utils/senfassert.hh"
#include <typeinfo>
-#include <boost/lexical_cast.hpp>
+#include "../Utils/senfassert.hh"
#include "../Utils/TypeInfo.hh"
#define prefix_ inline
: FileHandle(other)
{
SENF_ASSERT( isChecked );
- SENF_ASSERT( dynamic_cast<SocketBody *>(&FileHandle::body()) );
+ SENF_ASSERT( ! valid() || dynamic_cast<SocketBody *>(&FileHandle::body()) );
}
template <class SPolicy>