Fixed t_string delegating to the improper copy constructor,

...the really slow one.
This commit is contained in:
Guillaume Melquiond 2010-08-08 16:46:56 +00:00
parent 4be292c05e
commit ea5b2445e6

View File

@ -43,8 +43,7 @@ public:
shared_object() : val_(0) { set(T()); }
template <typename U>
shared_object(const U& o) : val_(0) { set(o); }
shared_object(const T &o) : val_(0) { set(o); }
shared_object(const shared_object& o) : val_(o.val_) {
assert(valid());