Socket: Make 'ServerSocketHandle::accept()' callable with undefined AddressingPolicy
[senf.git] / Socket / SocketPolicy.test.hh
index 065ec46..263c837 100644 (file)
@@ -55,6 +55,8 @@ namespace test {
     {
         static int accept(FileHandle handle, unsigned & addr)
             { addr = 3; return -1; }
+        static int accept(FileHandle handle)
+            { return -1; }
     };
 
     struct SomeReadPolicy : public senf::ReadPolicyBase