diff options
Diffstat (limited to 'src/processor/proc_maps_linux.cc')
-rw-r--r-- | src/processor/proc_maps_linux.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/processor/proc_maps_linux.cc b/src/processor/proc_maps_linux.cc index 0cd3772e..3c0dea25 100644 --- a/src/processor/proc_maps_linux.cc +++ b/src/processor/proc_maps_linux.cc @@ -12,6 +12,7 @@ #include <inttypes.h> #include <stdio.h> +#include "common/using_std_string.h" #include "processor/logging.h" #if defined(OS_ANDROID) && !defined(__LP64__) @@ -25,7 +26,7 @@ namespace google_breakpad { -bool ParseProcMaps(const std::string& input, +bool ParseProcMaps(const string& input, std::vector<MappedMemoryRegion>* regions_out) { std::vector<MappedMemoryRegion> regions; @@ -33,8 +34,8 @@ bool ParseProcMaps(const std::string& input, // this point in time. // Split the string by newlines. - std::vector<std::string> lines; - std::string l = ""; + std::vector<string> lines; + string l = ""; for (size_t i = 0; i < input.size(); i++) { if (input[i] != '\n' && input[i] != '\r') { l.push_back(input[i]); |