Socket: Make 'ServerSocketHandle::accept()' callable with undefined AddressingPolicy
[senf.git] / Socket / SocketPolicy.test.hh
index d109940..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
@@ -131,4 +133,5 @@ namespace test {
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
 // compile-command: "scons -u test"
+// comment-column: 40
 // End: