From 4473fe41c6d4cf9ecb7a5d2aa90e88e7f31424a9 Mon Sep 17 00:00:00 2001 From: Matej Sekoranja Date: Mon, 16 Feb 2015 11:27:51 +0100 Subject: [PATCH] statis_pointer_cast namespace fix --- src/remote/serializationHelper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/remote/serializationHelper.cpp b/src/remote/serializationHelper.cpp index 17c39d2..de7972c 100644 --- a/src/remote/serializationHelper.cpp +++ b/src/remote/serializationHelper.cpp @@ -130,8 +130,8 @@ void SerializationHelper::copyUnchecked( } case unionArray: { - PVUnionArray::shared_pointer fromS = std::static_pointer_cast(from); - PVUnionArray::shared_pointer toS = std::static_pointer_cast(to); + PVUnionArray::shared_pointer fromS = std::tr1::static_pointer_cast(from); + PVUnionArray::shared_pointer toS = std::tr1::static_pointer_cast(to); toS->replace(fromS->view()); break; }