From 8721f989bfd7e1c0a12e486383f90357564c4e78 Mon Sep 17 00:00:00 2001 From: "henrike@webrtc.org" Date: Wed, 23 Jul 2014 21:38:09 +0000 Subject: [PATCH] Revert 6766 "Temporarily add a default ctor to StatsReport and make |id| non const. As soon as I've updated the chrome side, I'll revert this cl." BUG=N/A TBR=ajm@webrtc.org Review URL: https://webrtc-codereview.appspot.com/18899004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6769 4adac7df-926f-26a2-2b94-8c16560cd09d --- talk/app/webrtc/statstypes.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/talk/app/webrtc/statstypes.h b/talk/app/webrtc/statstypes.h index 7b411eb686..033ed35038 100644 --- a/talk/app/webrtc/statstypes.h +++ b/talk/app/webrtc/statstypes.h @@ -64,9 +64,6 @@ class StatsReport { explicit StatsReport(const std::string& id) : id(id), timestamp(0) {} public: - // TODO(tommi): Remove this ctor. - StatsReport() : timestamp(0) {} - // Operators provided for STL container/algorithm support. bool operator<(const StatsReport& other) const { return id < other.id; } bool operator==(const StatsReport& other) const { return id == other.id; } @@ -81,9 +78,7 @@ class StatsReport { // The unique identifier for this object. // This is used as a key for this report in ordered containers, // so it must never be changed. - - // TODO(tommi): Make const again. - /*const*/ std::string id; // See below for contents. + const std::string id; // See below for contents. std::string type; // See below for contents. struct Value {