diff options
Diffstat (limited to 'src/processor/module_comparer.cc')
-rw-r--r-- | src/processor/module_comparer.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/processor/module_comparer.cc b/src/processor/module_comparer.cc index 025ab883..389712c5 100644 --- a/src/processor/module_comparer.cc +++ b/src/processor/module_comparer.cc @@ -1,5 +1,4 @@ -// Copyright (c) 2010, Google Inc. -// All rights reserved. +// Copyright 2010 Google LLC // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are @@ -11,7 +10,7 @@ // copyright notice, this list of conditions and the following disclaimer // in the documentation and/or other materials provided with the // distribution. -// * Neither the name of Google Inc. nor the names of its +// * Neither the name of Google LLC nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. // @@ -52,7 +51,7 @@ namespace google_breakpad { -bool ModuleComparer::Compare(const string &symbol_data) { +bool ModuleComparer::Compare(const string& symbol_data) { scoped_ptr<BasicModule> basic_module(new BasicModule("test_module")); scoped_ptr<FastModule> fast_module(new FastModule("test_module")); @@ -284,7 +283,7 @@ bool ModuleComparer::CompareCRM( while (iter1 != basic_crm->map_->end() && iter2 != fast_crm->map_.end()) { ASSERT_TRUE(iter1->first == iter2.GetKey()); - StaticContainedRangeMap<MemAddr, char> *child = + StaticContainedRangeMap<MemAddr, char>* child = new StaticContainedRangeMap<MemAddr, char>( reinterpret_cast<const char*>(iter2.GetValuePtr())); ASSERT_TRUE(CompareCRM(iter1->second, child)); |