[chromium-style] auto variable type must not deduce to a raw pointer type
This commit is contained in:
parent
667c43398c
commit
a635f078c6
61 changed files with 189 additions and 188 deletions
|
@ -17,7 +17,7 @@
|
|||
namespace crash_reporter {
|
||||
|
||||
CrashReporter::CrashReporter() {
|
||||
auto cmd = base::CommandLine::ForCurrentProcess();
|
||||
auto* cmd = base::CommandLine::ForCurrentProcess();
|
||||
is_browser_ = cmd->GetSwitchValueASCII(switches::kProcessType).empty();
|
||||
}
|
||||
|
||||
|
@ -102,7 +102,7 @@ CrashReporter* CrashReporter::GetInstance() {
|
|||
#endif
|
||||
|
||||
void CrashReporter::StartInstance(const mate::Dictionary& options) {
|
||||
auto reporter = GetInstance();
|
||||
auto* reporter = GetInstance();
|
||||
if (!reporter)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue