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:
ivanpe@chromium.org 2014-07-21 18:27:43 +00:00
parent 8703844b3c
commit b7aa202b54
2 changed files with 63 additions and 10 deletions

View file

@ -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.