From 2afee94e0ed91f6ec04a6e2bbb64d744c1d1b3ac Mon Sep 17 00:00:00 2001 From: Tats Date: Tue, 10 Dec 2013 22:26:04 -0500 Subject: [PATCH] Minor fix: wrong cast types --- Mapper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mapper.cpp b/Mapper.cpp index ae322ab..0f5435a 100644 --- a/Mapper.cpp +++ b/Mapper.cpp @@ -109,10 +109,10 @@ void TextureMapper::draw() std::tr1::shared_ptr texture = std::tr1::static_pointer_cast(textureMapping->getPaint()); Q_CHECK_PTR(texture); - std::tr1::shared_ptr outputShape = std::tr1::static_pointer_cast(textureMapping->getShape()); + std::tr1::shared_ptr outputShape = std::tr1::static_pointer_cast(textureMapping->getShape()); Q_CHECK_PTR(outputShape); - std::tr1::shared_ptr inputShape = std::tr1::static_pointer_cast(textureMapping->getInputShape()); + std::tr1::shared_ptr inputShape = std::tr1::static_pointer_cast(textureMapping->getInputShape()); Q_CHECK_PTR(inputShape); // Only works for similar shapes.