~ubuntu-branches/ubuntu/raring/ceph/raring

« back to all changes in this revision

Viewing changes to src/include/encoding.h

  • Committer: Package Import Robot
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2012-02-05 10:07:38 UTC
  • mfrom: (1.1.7) (0.1.11 sid)
  • Revision ID: package-import@ubuntu.com-20120205100738-00s0bxx93mamy8tk
Tags: 0.41-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
525
525
  decode(n, p);
526
526
  m.clear();
527
527
  while (n--) {
528
 
    typename std::pair<T,U> tu;
 
528
    typename std::pair<T,U> tu = std::pair<T,U>();
529
529
    decode(tu.first, p);
530
530
    typename std::multimap<T,U>::iterator it = m.insert(tu);
531
531
    decode(it->second, p);