From 6de969a3040fa31ba60302c66613d1d2e6f5a730 Mon Sep 17 00:00:00 2001 From: "ivan.penkov@gmail.com" Date: Thu, 28 Jun 2012 22:46:01 +0000 Subject: This change allows compiling the google-breakpad code using a global ::string class instead of std::string. For more details take a look at common/using_std_string.h git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@974 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/common/stabs_reader.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/common/stabs_reader.cc') diff --git a/src/common/stabs_reader.cc b/src/common/stabs_reader.cc index 4897361e..6019fc7e 100644 --- a/src/common/stabs_reader.cc +++ b/src/common/stabs_reader.cc @@ -37,6 +37,10 @@ #include #include +#include + +#include "common/using_std_string.h" + using std::vector; namespace google_breakpad { @@ -225,7 +229,7 @@ bool StabsReader::ProcessFunction() { const char *name_end = strchr(stab_string, ':'); if (! name_end) name_end = stab_string + strlen(stab_string); - std::string name(stab_string, name_end - stab_string); + string name(stab_string, name_end - stab_string); if (! handler_->StartFunction(name, function_address)) return false; ++iterator_; -- cgit v1.2.1