mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-24 00:04:58 +01:00
Both std::tr1::unordered_set and std::unordered_set are not allowed in
Google at this moment. This change is implementing a workaround that allows switching to hash_set and hash_map. R=mark@chromium.org Review URL: https://breakpad.appspot.com/6694002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1354 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
8703844b3c
commit
b7aa202b54
2 changed files with 63 additions and 10 deletions
|
|
@ -46,25 +46,16 @@
|
|||
#include <stdio.h>
|
||||
|
||||
#include <algorithm>
|
||||
#if defined(_LIBCPP_VERSION)
|
||||
#include <unordered_set>
|
||||
#else
|
||||
#include <tr1/unordered_set>
|
||||
#endif
|
||||
#include <utility>
|
||||
|
||||
#include "common/dwarf_line_to_module.h"
|
||||
#include "common/unordered.h"
|
||||
|
||||
namespace google_breakpad {
|
||||
|
||||
using std::map;
|
||||
using std::pair;
|
||||
using std::sort;
|
||||
#if defined(_LIBCPP_VERSION)
|
||||
using std::unordered_set;
|
||||
#else
|
||||
using std::tr1::unordered_set;
|
||||
#endif
|
||||
using std::vector;
|
||||
|
||||
// Data provided by a DWARF specification DIE.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue