Ignore:
Timestamp:
Feb 1, 2008, 7:34:35 PM (14 years ago)
Author:
Peter
Message:

not returning const VectorBase?& in vector and VectorView?

File:
1 edited

Legend:

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

    r1015 r1026  
    142142
    143143
    144   const VectorBase& VectorView::assign(const VectorBase& other )
     144  const VectorView& VectorView::assign(const VectorBase& other )
    145145  {
    146146    if (size()!=other.size())
     
    161161
    162162
    163   const VectorBase& VectorView::operator=(const VectorView& other )
     163  const VectorView& VectorView::operator=(const VectorView& other )
    164164  {
    165165    return assign(other);
     
    167167
    168168 
    169   const VectorBase& VectorView::operator=(const VectorBase& other )
     169  const VectorView& VectorView::operator=(const VectorBase& other )
    170170  {
    171171    return assign(other);
     
    174174 
    175175  /*
    176   const VectorBase& VectorView::operator=(proxy p)
     176  const VectorView& VectorView::operator=(proxy p)
    177177  {
    178178    if (size()!=p.vec_->size)
Note: See TracChangeset for help on using the changeset viewer.