From 69f2b252162b47ba174aab6b283b724d33fc38d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be> Date: Sun, 15 Jul 2012 12:09:34 +0200 Subject: Fix struct vs class warnings. diff --git a/Swiften/Compress/ZLibCodecompressor.h b/Swiften/Compress/ZLibCodecompressor.h index a125fc1..bfb56f4 100644 --- a/Swiften/Compress/ZLibCodecompressor.h +++ b/Swiften/Compress/ZLibCodecompressor.h @@ -18,7 +18,7 @@ namespace Swift { virtual int processZStream() = 0; protected: - class Private; + struct Private; boost::shared_ptr<Private> p; }; } diff --git a/Swiften/Network/MiniUPnPInterface.h b/Swiften/Network/MiniUPnPInterface.h index ced7db2..49a7cd2 100644 --- a/Swiften/Network/MiniUPnPInterface.h +++ b/Swiften/Network/MiniUPnPInterface.h @@ -25,7 +25,7 @@ namespace Swift { bool removePortForward(const NATPortMapping&); private: - class Private; + struct Private; boost::shared_ptr<Private> p; }; } diff --git a/Swiften/Network/NATPMPInterface.h b/Swiften/Network/NATPMPInterface.h index 7073bd2..e079a59 100644 --- a/Swiften/Network/NATPMPInterface.h +++ b/Swiften/Network/NATPMPInterface.h @@ -25,7 +25,7 @@ namespace Swift { virtual bool removePortForward(const NATPortMapping&); private: - class Private; + struct Private; boost::shared_ptr<Private> p; }; } diff --git a/Swiften/Parser/ExpatParser.h b/Swiften/Parser/ExpatParser.h index 415f40b..956e83f 100644 --- a/Swiften/Parser/ExpatParser.h +++ b/Swiften/Parser/ExpatParser.h @@ -22,7 +22,7 @@ namespace Swift { void stopParser(); private: - class Private; + struct Private; boost::shared_ptr<Private> p; }; } diff --git a/Swiften/Parser/LibXMLParser.h b/Swiften/Parser/LibXMLParser.h index 25c0604..b8e1d7c 100644 --- a/Swiften/Parser/LibXMLParser.h +++ b/Swiften/Parser/LibXMLParser.h @@ -26,7 +26,7 @@ namespace Swift { private: static bool initialized; - class Private; + struct Private; boost::shared_ptr<Private> p; }; } -- cgit v0.10.2-6-g49f6