aboutsummaryrefslogtreecommitdiff
path: root/src/common/dwarf_cu_to_module.cc
diff options
context:
space:
mode:
authorivanpe@chromium.org <ivanpe@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2014-07-21 18:27:43 +0000
committerivanpe@chromium.org <ivanpe@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2014-07-21 18:27:43 +0000
commitb7aa202b54ddd002e7825bfe57e35f5417739c7b (patch)
treea1e1217c4a71a9366aa990f4a403bcfe75d52245 /src/common/dwarf_cu_to_module.cc
parent[Android]: Remove __system_property_get(ro.build.fingerprint) from WriteOSInf... (diff)
downloadbreakpad-b7aa202b54ddd002e7825bfe57e35f5417739c7b.tar.xz
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
Diffstat (limited to 'src/common/dwarf_cu_to_module.cc')
-rw-r--r--src/common/dwarf_cu_to_module.cc11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/common/dwarf_cu_to_module.cc b/src/common/dwarf_cu_to_module.cc
index 70d95ca3..444e9a94 100644
--- a/src/common/dwarf_cu_to_module.cc
+++ b/src/common/dwarf_cu_to_module.cc
@@ -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.