From 09b056975dacd1f0f815ad820b6dc9913b0118a3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 23 Jun 2020 18:55:43 -0400 Subject: fix pointer style to match the style guide We do this in a lot of places, but we're inconsistent. Normalize the code to the Google C++ style guide. Change-Id: Ic2aceab661ce8f6b993dda21b1cdf5d2198dcbbf Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2262932 Reviewed-by: Sterling Augustine Reviewed-by: Mark Mentovai --- src/processor/module_comparer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/processor/module_comparer.cc') diff --git a/src/processor/module_comparer.cc b/src/processor/module_comparer.cc index 025ab883..669f1133 100644 --- a/src/processor/module_comparer.cc +++ b/src/processor/module_comparer.cc @@ -52,7 +52,7 @@ namespace google_breakpad { -bool ModuleComparer::Compare(const string &symbol_data) { +bool ModuleComparer::Compare(const string& symbol_data) { scoped_ptr basic_module(new BasicModule("test_module")); scoped_ptr fast_module(new FastModule("test_module")); @@ -284,7 +284,7 @@ bool ModuleComparer::CompareCRM( while (iter1 != basic_crm->map_->end() && iter2 != fast_crm->map_.end()) { ASSERT_TRUE(iter1->first == iter2.GetKey()); - StaticContainedRangeMap *child = + StaticContainedRangeMap* child = new StaticContainedRangeMap( reinterpret_cast(iter2.GetValuePtr())); ASSERT_TRUE(CompareCRM(iter1->second, child)); -- cgit v1.2.1