From aa2167fb6ab9ea40278757964d2f00d4b24b8362 Mon Sep 17 00:00:00 2001 From: astrojhgu Date: Fri, 13 Nov 2009 16:01:40 +0000 Subject: git-svn-id: file:///home/svn/opt_utilities@95 ed2142bd-67ad-457f-ba7c-d818d4011675 --- misc/optvec.hpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'misc/optvec.hpp') diff --git a/misc/optvec.hpp b/misc/optvec.hpp index 5cb78c1..d23934c 100644 --- a/misc/optvec.hpp +++ b/misc/optvec.hpp @@ -17,6 +17,13 @@ namespace opt_utilities optvec(const std::vector& rhs) :std::vector(rhs) {} + + optvec& operator=(const optvec& rhs) + { + //dynamic_cast&>(*this).operator=(rhs); + std::vector::operator=(rhs); + return *this; + } public: operator std::vector& () { -- cgit v1.2.2