Imported Upstream version 1.72.0
[platform/upstream/boost.git] / boost / asio / local / datagram_protocol.hpp
index b29add6..8385a53 100644 (file)
@@ -46,19 +46,19 @@ class datagram_protocol
 {
 public:
   /// Obtain an identifier for the type of the protocol.
-  int type() const
+  int type() const BOOST_ASIO_NOEXCEPT
   {
     return SOCK_DGRAM;
   }
 
   /// Obtain an identifier for the protocol.
-  int protocol() const
+  int protocol() const BOOST_ASIO_NOEXCEPT
   {
     return 0;
   }
 
   /// Obtain an identifier for the protocol family.
-  int family() const
+  int family() const BOOST_ASIO_NOEXCEPT
   {
     return AF_UNIX;
   }