Ignore:
Timestamp:
Jun 7, 2010, 5:57:58 AM (12 years ago)
Author:
Peter Johansson
Message:

Fixes severe bug that we allowed copy construction of StatsCollection?
(compiler generated), which involved copying of pointers, which were
deleted in destructor, i.e., we allowed multiple deletion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.7-stable/bin/svndigest.cc

    r847 r1075  
    152152  if (option->verbose())
    153153    std::cout << "Parsing directory tree" << std::endl;
    154   StatsCollection stats(tree->parse(option->verbose(), option->ignore_cache()));
     154  const StatsCollection& stats(tree->parse(option->verbose(),
     155                                           option->ignore_cache()));
    155156
    156157  if (option->report()) {
Note: See TracChangeset for help on using the changeset viewer.