Bug 623121 - Add constructor for CPPLanguage (which inherits from Language) to placate CLang; r=jimb a=bsmedberg
authorRafael Ávila de Espíndola <respindola@mozilla.com>
Fri, 21 Jan 2011 14:11:35 -0500
changeset 61097 b0c917ad881b815fc1ba6d06fadb95f03d9a221b
parent 61096 3915ec30a8322b95d930ec9c5354e466d13e3b9b
child 61098 b17f28507ab402e155819cd7921b37d454f2680d
push idunknown
push userunknown
push dateunknown
reviewersjimb, bsmedberg
bugs623121
milestone2.0b10pre
Bug 623121 - Add constructor for CPPLanguage (which inherits from Language) to placate CLang; r=jimb a=bsmedberg
toolkit/crashreporter/google-breakpad/src/common/language.cc
--- a/toolkit/crashreporter/google-breakpad/src/common/language.cc
+++ b/toolkit/crashreporter/google-breakpad/src/common/language.cc
@@ -34,16 +34,17 @@
 
 #include "common/language.h"
 
 namespace google_breakpad {
 
 // C++ language-specific operations.
 class CPPLanguage: public Language {
  public:
+  CPPLanguage() {}
   string MakeQualifiedName(const string &parent_name,
                            const string &name) const {
     if (parent_name.empty())
       return name;
     else
       return parent_name + "::" + name;
   }
 };