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
diff --git a/talk/app/webrtc/statstypes.h b/talk/app/webrtc/statstypes.h
index 7b411eb..033ed35 100644
--- a/talk/app/webrtc/statstypes.h
+++ b/talk/app/webrtc/statstypes.h
@@ -64,9 +64,6 @@
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 @@
// 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 {