summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordeanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-11 18:57:54 +0000
committerdeanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-11 18:57:54 +0000
commitf35fd7fea6e6ac6525a3c2b628e60c5cc9f4a7e8 (patch)
tree466ee76a842c44d26412122e6f5723f98e885ee6
parented98e38aa478f2d8b15e33013add3309171f821d (diff)
downloadchromium_src-f35fd7fea6e6ac6525a3c2b628e60c5cc9f4a7e8.zip
chromium_src-f35fd7fea6e6ac6525a3c2b628e60c5cc9f4a7e8.tar.gz
chromium_src-f35fd7fea6e6ac6525a3c2b628e60c5cc9f4a7e8.tar.bz2
Move Ranges to std::vector<Sample>, as <const Sample> is invalid if you want to assign to elements of the vector. This now compiles under GCC.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@667 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--base/histogram.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/histogram.h b/base/histogram.h
index 295f610..8b5743f 100644
--- a/base/histogram.h
+++ b/base/histogram.h
@@ -175,7 +175,7 @@ class Histogram : public StatsRate {
static const Sample kSampleType_MAX = INT_MAX;
typedef std::vector<Count> Counts;
- typedef std::vector<const Sample> Ranges;
+ typedef std::vector<Sample> Ranges;
static const int kHexRangePrintingFlag = 0x8000;
//----------------------------------------------------------------------------