Ignore:
Timestamp:
Jun 7, 2010, 5:57:58 AM (11 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/lib/StatsCollection.h

    r847 r1075  
    8686
    8787  private:
     88    // copy not allowed
     89    StatsCollection(const StatsCollection&);
     90    StatsCollection& operator=(const StatsCollection&);
     91
    8892    const std::string path_;
    8993    typedef std::map<std::string, Stats*> map;
Note: See TracChangeset for help on using the changeset viewer.