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
parent8853ae3063bc9d3fb5b023352dd0fb4fb6cc277b (diff)
downloadswift-contrib-69f2b252162b47ba174aab6b283b724d33fc38d7.zip
swift-contrib-69f2b252162b47ba174aab6b283b724d33fc38d7.tar.bz2
Fix struct vs class warnings.
-rw-r--r--Swiften/Compress/ZLibCodecompressor.h2
-rw-r--r--Swiften/Network/MiniUPnPInterface.h2
-rw-r--r--Swiften/Network/NATPMPInterface.h2
-rw-r--r--Swiften/Parser/ExpatParser.h2
-rw-r--r--Swiften/Parser/LibXMLParser.h2
5 files changed, 5 insertions, 5 deletions
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;
};
}