hmpf. run all_tests *before* committing. sorry.
tho [Mon, 1 Aug 2011 14:05:43 +0000 (14:05 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1803 270642c3-0616-0410-b53a-bc976706d245

senf/Socket/Protocols/Raw/MmapedPacketSocketHandle.cc
senf/Utils/Exception.hh

index 63f3459..bdb7ace 100644 (file)
@@ -79,7 +79,7 @@ prefix_ void senf::MmapedPacketSocketProtocol::init_client(SocketType type, int
 prefix_ unsigned senf::MmapedPacketSocketProtocol::available()
     const
 {
-
+    return 0;
 }
 
 prefix_ bool senf::MmapedPacketSocketProtocol::eof()
index 9bca764..7e31188 100644 (file)
@@ -39,8 +39,6 @@
 #include <boost/utility.hpp>
 #include <boost/type_traits/is_convertible.hpp>
 #include <senf/config.hh>
-#include "senfassert.hh"
-
 
 //#include "Exception.mpp"
 //-/////////////////////////////////////////////////////////////////////////////////////////////////
@@ -318,9 +316,7 @@ namespace senf {
 #       define SENF_EXC_DEBUGINFO
 #   endif
 
-#   define SENF_THROW_SYSTEM_EXCEPTION(desc)                        \
-        SENF_STATIC_ASSERT( sizeof(desc) > 1,                       \
-            EMPTY_DESCRIPTION_FOR_SYSTEM_EXCEPTION_NOT_ALLOWED);    \
+#   define SENF_THROW_SYSTEM_EXCEPTION(desc)                    \
         throw senf::SystemException(desc SENF_EXC_DEBUGINFO)
 
 }