summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-06-12 20:13:47 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-06-12 20:13:47 (GMT)
commite98dc394d7c6e3c5ab5e05a6e1430c4ec7f9a803 (patch)
tree033ce7349fef860efb3928bcd0e98ee50cf97fa8
parent47e607addf2b4ae475b49ff42d0817ffbeafaa46 (diff)
downloadswift-contrib-e98dc394d7c6e3c5ab5e05a6e1430c4ec7f9a803.zip
swift-contrib-e98dc394d7c6e3c5ab5e05a6e1430c4ec7f9a803.tar.bz2
Removed explicit call to get().
-rw-r--r--Swiften/Serializer/CompressRequestSerializer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Serializer/CompressRequestSerializer.cpp b/Swiften/Serializer/CompressRequestSerializer.cpp
index c6d4627..af7f7db 100644
--- a/Swiften/Serializer/CompressRequestSerializer.cpp
+++ b/Swiften/Serializer/CompressRequestSerializer.cpp
@@ -19,7 +19,7 @@ SafeByteArray CompressRequestSerializer::serialize(boost::shared_ptr<Element> el
}
bool CompressRequestSerializer::canSerialize(boost::shared_ptr<Element> element) const {
- return dynamic_cast<CompressRequest*>(element.get()) != 0;
+ return boost::dynamic_pointer_cast<CompressRequest>(element) != 0;
}
}