Changeset 1480


Ignore:
Timestamp:
Jun 3, 2012, 1:17:48 PM (9 years ago)
Author:
Peter Johansson
Message:

add missing return statement in Vector+= and correct declaration of PairValuePlusAssign? (to return void). refs #515

Location:
branches/0.9-stable/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/0.9-stable/lib/Functor.h

    r1267 r1480  
    77  Copyright (C) 2005 Peter Johansson
    88  Copyright (C) 2006, 2007, 2008 Jari Häkkinen, Peter Johansson
    9   Copyright (C) 2010 Peter Johansson
     9  Copyright (C) 2010, 2012 Peter Johansson
    1010
    1111  This file is part of svndigest, http://dev.thep.lu.se/svndigest
     
    163163    public std::binary_function<T&, const std::pair<const Key, T>&, void>
    164164  {
    165     T operator()(T& x, const std::pair<const Key, T>& p)
     165    void operator()(T& x, const std::pair<const Key, T>& p) const
    166166    {
    167167      x += p.second;
  • branches/0.9-stable/lib/Vector.h

    r1208 r1480  
    55
    66/*
    7   Copyright (C) 2010 Peter Johansson
     7  Copyright (C) 2010, 2012 Peter Johansson
    88
    99  This file is part of svndigest, http://dev.thep.lu.se/svndigest
     
    181181      std::swap(map_, result.map_);
    182182      resize(std::max(size_, other.size()));
     183      return *this;
    183184    }
    184185
Note: See TracChangeset for help on using the changeset viewer.