diff --git a/src/common/module_unittest.cc b/src/common/module_unittest.cc index 26964a56..393e4151 100644 --- a/src/common/module_unittest.cc +++ b/src/common/module_unittest.cc @@ -45,11 +45,12 @@ #include "common/using_std_string.h" using google_breakpad::Module; +using google_breakpad::StringView; using std::stringstream; using std::vector; using testing::ContainerEq; -static Module::Function* generate_duplicate_function(const string& name) { +static Module::Function* generate_duplicate_function(StringView name) { const Module::Address DUP_ADDRESS = 0xd35402aac7a7ad5cULL; const Module::Address DUP_SIZE = 0x200b26e605f99071ULL; const Module::Address DUP_PARAMETER_SIZE = 0xf14ac4fed48c4a99ULL;