diff options
Diffstat (limited to 'Swiften/Network/NATPMPInterface.h')
-rw-r--r-- | Swiften/Network/NATPMPInterface.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Swiften/Network/NATPMPInterface.h b/Swiften/Network/NATPMPInterface.h index f132ed5..467ee5c 100644 --- a/Swiften/Network/NATPMPInterface.h +++ b/Swiften/Network/NATPMPInterface.h @@ -1,14 +1,15 @@ /* - * Copyright (c) 2011 Isode Limited. + * Copyright (c) 2011-2016 Isode Limited. * Licensed under the simplified BSD license. * See Documentation/Licenses/BSD-simplified.txt for more information. */ #pragma once +#include <boost/noncopyable.hpp> #include <boost/optional.hpp> #include <boost/shared_ptr.hpp> -#include <boost/noncopyable.hpp> + #include <Swiften/Network/NATPortMapping.h> #include <Swiften/Network/NATTraversalInterface.h> @@ -16,7 +17,7 @@ namespace Swift { class NATPMPInterface : public NATTraversalInterface, boost::noncopyable { public: NATPMPInterface(); - ~NATPMPInterface(); + virtual ~NATPMPInterface(); virtual bool isAvailable(); |