diff options
author | Ivan Penkov <ivanpe@chromium.org> | 2016-08-30 14:00:56 -0700 |
---|---|---|
committer | Ivan Penkov <ivanpe@chromium.org> | 2016-08-30 23:31:43 +0000 |
commit | 704f41ec901c419f8c321742114b415e6f5ceacc (patch) | |
tree | a377b2ea62db6918fb0192ba15d4bdc6649e0ce3 /src/processor/symbolic_constants_win.cc | |
parent | Fixing some casts in order to be able to build with new Xcode and SDK version... (diff) | |
download | breakpad-704f41ec901c419f8c321742114b415e6f5ceacc.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
BUG=
Change-Id: I11f1ce697be23e13f12ea8f0468bbe02fa63c967
Reviewed-on: https://chromium-review.googlesource.com/378159
Reviewed-by: Mark Mentovai <mark@chromium.org>
Diffstat (limited to 'src/processor/symbolic_constants_win.cc')
-rw-r--r-- | src/processor/symbolic_constants_win.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/processor/symbolic_constants_win.cc b/src/processor/symbolic_constants_win.cc index 8f142a76..a6ee26a2 100644 --- a/src/processor/symbolic_constants_win.cc +++ b/src/processor/symbolic_constants_win.cc @@ -36,14 +36,15 @@ #include <string> #include "common/stdio_wrapper.h" +#include "common/using_std_string.h" #include "google_breakpad/common/breakpad_types.h" #include "google_breakpad/common/minidump_exception_win32.h" #include "processor/symbolic_constants_win.h" namespace google_breakpad { -std::string NTStatusToString(uint32_t ntstatus) { - std::string reason; +string NTStatusToString(uint32_t ntstatus) { + string reason; // The content of this switch was created from ntstatus.h in the 8.1 SDK with // // egrep '#define [A-Z_0-9]+\s+\(\(NTSTATUS\)0xC[0-9A-F]+L\)' ntstatus.h |