Ignore:
Timestamp:
Dec 15, 2008, 1:57:43 PM (13 years ago)
Author:
Peter
Message:

fixes #467 - implicit conversion between Vector and its Views are no longer allowed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/VectorMutable.cc

    r1487 r1651  
    180180
    181181
    182   VectorMutable::operator proxy()
    183   {
    184     assert(vec_==const_vec_);
    185     proxy p;
    186     p.vec_ = vec_;
    187     vec_ = NULL; // proxy takes ownership and delivers to its receiver
    188     const_vec_ = NULL;
    189     return p;
    190   }
    191 
    192182}}} // of namespace utility, yat, and thep
Note: See TracChangeset for help on using the changeset viewer.