From: tho Date: Mon, 1 Aug 2011 14:05:43 +0000 (+0000) Subject: hmpf. run all_tests *before* committing. sorry. X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=ca3f7bcf0c35022a2b6dbd33fd6b1afba4e78222;p=senf.git hmpf. run all_tests *before* committing. sorry. git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1803 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/senf/Socket/Protocols/Raw/MmapedPacketSocketHandle.cc b/senf/Socket/Protocols/Raw/MmapedPacketSocketHandle.cc index 63f3459..bdb7ace 100644 --- a/senf/Socket/Protocols/Raw/MmapedPacketSocketHandle.cc +++ b/senf/Socket/Protocols/Raw/MmapedPacketSocketHandle.cc @@ -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() diff --git a/senf/Utils/Exception.hh b/senf/Utils/Exception.hh index 9bca764..7e31188 100644 --- a/senf/Utils/Exception.hh +++ b/senf/Utils/Exception.hh @@ -39,8 +39,6 @@ #include #include #include -#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) }