aboutsummaryrefslogtreecommitdiff
path: root/src/common/stabs_reader.h
diff options
context:
space:
mode:
authorivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-06-28 22:46:01 +0000
committerivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-06-28 22:46:01 +0000
commit6de969a3040fa31ba60302c66613d1d2e6f5a730 (patch)
treeaad9de34e00834709440f01cb0f54e315989490e /src/common/stabs_reader.h
parentFix Android build of client library (diff)
downloadbreakpad-6de969a3040fa31ba60302c66613d1d2e6f5a730.tar.xz
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
Diffstat (limited to 'src/common/stabs_reader.h')
-rw-r--r--src/common/stabs_reader.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/stabs_reader.h b/src/common/stabs_reader.h
index b22ebfd3..d89afc00 100644
--- a/src/common/stabs_reader.h
+++ b/src/common/stabs_reader.h
@@ -64,6 +64,7 @@
#include <vector>
#include "common/byte_cursor.h"
+#include "common/using_std_string.h"
namespace google_breakpad {
@@ -292,7 +293,7 @@ class StabsHandler {
// StartFunction is the function name alone.
//
// In languages that use name mangling, like C++, NAME is mangled.
- virtual bool StartFunction(const std::string &name, uint64_t address) {
+ virtual bool StartFunction(const string &name, uint64_t address) {
return true;
}
@@ -311,7 +312,7 @@ class StabsHandler {
// Report that an exported function NAME is present at ADDRESS.
// The size of the function is unknown.
- virtual bool Extern(const std::string &name, uint64_t address) {
+ virtual bool Extern(const string &name, uint64_t address) {
return true;
}