From 70c9a7c18f4d419b57dbf6b75fea322ea7fd9fdd Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Tue, 11 Jun 2013 10:04:14 -0400 Subject: [PATCH] simplify shared_vector ctors Casting will be done through the copy constructor. --- pvDataApp/misc/sharedVector.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pvDataApp/misc/sharedVector.h b/pvDataApp/misc/sharedVector.h index 0a3cdc8..fb6cd99 100644 --- a/pvDataApp/misc/sharedVector.h +++ b/pvDataApp/misc/sharedVector.h @@ -84,8 +84,7 @@ namespace detail { ,m_offset(o), m_count(c), m_total(c) {_null_input();} - template - shared_vector_base(const std::tr1::shared_ptr& d, size_t o, size_t c) + shared_vector_base(const std::tr1::shared_ptr& d, size_t o, size_t c) :m_data(d), m_offset(o), m_count(c), m_total(c) {_null_input();}