X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSocketProtocol.test.hh;h=d03e6df92d1c24ae35177869b975ab7d11bf42ee;hb=81f84badf27b66dbadec9890646ca1193e998505;hp=68a646608c593b1f55e05738a0328010054f7827;hpb=6d612eda73e43f9304bd178aff02020a6e7be3fe;p=senf.git diff --git a/Socket/SocketProtocol.test.hh b/Socket/SocketProtocol.test.hh index 68a6466..d03e6df 100644 --- a/Socket/SocketProtocol.test.hh +++ b/Socket/SocketProtocol.test.hh @@ -20,8 +20,8 @@ // Free Software Foundation, Inc., // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef HH_SocketProtocol_test_ -#define HH_SocketProtocol_test_ 1 +#ifndef HH_SENF_Socket_SocketProtocol_test_ +#define HH_SENF_Socket_SocketProtocol_test_ 1 // Custom includes #include "SocketProtocol.hh" @@ -34,11 +34,11 @@ namespace senf { namespace test { - class SomeProtocol - : public ConcreteSocketProtocol + class SomeSocketProtocol + : public ConcreteSocketProtocol { public: - ~SomeProtocol() {} + ~SomeSocketProtocol() {} void init_client() const { fd(0); } void init_server() const { fd(0); } @@ -48,7 +48,7 @@ namespace test { bool eof() const { return false; } - virtual void close() const { + virtual void close() { closeCount(1); }