Skip to content

Commit

Permalink
Re #8943. Changing cast so non-IDataItem things can be exposed.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed Feb 17, 2014
1 parent 17d4d62 commit 49ff846
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -119,7 +119,7 @@ namespace Mantid
// If we can extract a weak pointer then we must construct the shared pointer
// from the weak pointer itself to ensure the new shared_ptr has the correct
// use count
sharedItem = boost::static_pointer_cast<PointeeType>(weakPtrExtractor().lock());
sharedItem = boost::dynamic_pointer_cast<PointeeType>(weakPtrExtractor().lock());
}
else
{
Expand Down

0 comments on commit 49ff846

Please sign in to comment.