projects
/
senf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Utils/Console: Implement senf::console::dump() helper
[senf.git]
/
Socket
/
SocketHandle.cti
diff --git
a/Socket/SocketHandle.cti
b/Socket/SocketHandle.cti
index
acdf0dc
..
310dfdd
100644
(file)
--- a/
Socket/SocketHandle.cti
+++ b/
Socket/SocketHandle.cti
@@
-68,7
+68,7
@@
prefix_ senf::SocketHandle<SPolicy>::SocketHandle(FileHandle other, bool isCheck
: FileHandle(other)
{
SENF_ASSERT( isChecked );
- SENF_ASSERT( dynamic_cast<SocketBody *>(&FileHandle::body()) );
+ SENF_ASSERT( ! valid() || dynamic_cast<SocketBody *>(&FileHandle::body()) );
}
template <class SPolicy>