summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-07-15 10:09:34 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-07-15 10:09:34 (GMT)
commit69f2b252162b47ba174aab6b283b724d33fc38d7 (patch)
treecfa2d071e46d9f162d01e98b703f19580c2866db /Swiften/Network
parent8853ae3063bc9d3fb5b023352dd0fb4fb6cc277b (diff)
downloadswift-contrib-69f2b252162b47ba174aab6b283b724d33fc38d7.zip
swift-contrib-69f2b252162b47ba174aab6b283b724d33fc38d7.tar.bz2
Fix struct vs class warnings.
Diffstat (limited to 'Swiften/Network')
-rw-r--r--Swiften/Network/MiniUPnPInterface.h2
-rw-r--r--Swiften/Network/NATPMPInterface.h2
2 files changed, 2 insertions, 2 deletions
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;
};
}