diff options
author | Ivan Penkov <ivanpe@chromium.org> | 2016-11-07 19:37:19 -0500 |
---|---|---|
committer | Ivan Penkov <ivanpe@chromium.org> | 2016-11-08 01:29:06 +0000 |
commit | 2f6cb866d615d6240a18c7535c994c6bb93b1ba5 (patch) | |
tree | 7efbca7102660952da22d328885af727cb432c39 /src/common/language.cc | |
parent | Basic handling of CIE version 4 in dwarf reading (diff) | |
download | breakpad-2f6cb866d615d6240a18c7535c994c6bb93b1ba5.tar.xz |
Allow 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
BUG=
Change-Id: Ifebfc57f691ef3a3bef8cfed7106c567985edffc
Reviewed-on: https://chromium-review.googlesource.com/399738
Reviewed-by: Mark Mentovai <mark@chromium.org>
Diffstat (limited to 'src/common/language.cc')
-rw-r--r-- | src/common/language.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/language.cc b/src/common/language.cc index 09eaceb6..3929c0c6 100644 --- a/src/common/language.cc +++ b/src/common/language.cc @@ -73,7 +73,7 @@ class CPPLanguage: public Language { } virtual DemangleResult DemangleName(const string& mangled, - std::string* demangled) const { + string* demangled) const { #if defined(__ANDROID__) // Android NDK doesn't provide abi::__cxa_demangle. demangled->clear(); @@ -127,7 +127,7 @@ class SwiftLanguage: public Language { } virtual DemangleResult DemangleName(const string& mangled, - std::string* demangled) const { + string* demangled) const { // There is no programmatic interface to a Swift demangler. Pass through the // mangled form because it encodes more information than the qualified name // that would have been built by MakeQualifiedName(). The output can be |