Update SENF to compile using g++ 4.3.2 (Ubuntu 8.10)
[senf.git] / Socket / SocketPolicy.test.hh
index cc726f6..00bf252 100644 (file)
@@ -1,8 +1,8 @@
 // $Id$
 //
 // Copyright (C) 2006
-// Fraunhofer Institute for Open Communication Systems (FOKUS) 
-// Competence Center NETwork research (NET), St. Augustin, GERMANY 
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
 //     Stefan Bund <g0dil@berlios.de>
 //
 // This program is free software; you can redistribute it and/or modify
@@ -31,7 +31,6 @@
 ///////////////////////////////hh.p////////////////////////////////////////
 
 namespace senf {
-
 namespace test {
 
     struct SomeAddressingPolicy : public senf::AddressingPolicyBase
@@ -94,26 +93,12 @@ namespace test {
             }
     };
 
-    struct SomeBufferingPolicy : public senf::BufferingPolicyBase
-    {
-        static unsigned rcvbuf(FileHandle handle)
-            { return 0; }
-        static unsigned rcvbuf(FileHandle handle, unsigned size)
-            { return 0; }
-
-        static unsigned sndbuf(FileHandle handle)
-            { return 0; }
-        static unsigned sndbuf(FileHandle handle, unsigned size)
-            { return 0; }
-    };
-
     typedef senf::MakeSocketPolicy<
         SomeAddressingPolicy,
         SomeFramingPolicy,
         SomeCommunicationPolicy,
         SomeReadPolicy,
-        SomeWritePolicy,
-        SomeBufferingPolicy
+        SomeWritePolicy
         >::policy SomeSocketPolicy;
 
 }}