aboutsummaryrefslogtreecommitdiff
path: root/src/common/stabs_reader.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/stabs_reader.cc')
-rw-r--r--src/common/stabs_reader.cc6
1 files changed, 5 insertions, 1 deletions
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 <stab.h>
#include <string.h>
+#include <string>
+
+#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_;