diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-06-12 20:13:47 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-06-12 20:13:47 (GMT) |
commit | e98dc394d7c6e3c5ab5e05a6e1430c4ec7f9a803 (patch) | |
tree | 033ce7349fef860efb3928bcd0e98ee50cf97fa8 | |
parent | 47e607addf2b4ae475b49ff42d0817ffbeafaa46 (diff) | |
download | swift-e98dc394d7c6e3c5ab5e05a6e1430c4ec7f9a803.zip swift-e98dc394d7c6e3c5ab5e05a6e1430c4ec7f9a803.tar.bz2 |
Removed explicit call to get().
-rw-r--r-- | Swiften/Serializer/CompressRequestSerializer.cpp | 2 |
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; } } |