aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/include/gmock/internal/gmock-internal-utils.h
diff options
context:
space:
mode:
authorJerry Turcios <jerryturcios08@gmail.com>2018-10-29 21:09:25 -0400
committerJerry Turcios <jerryturcios08@gmail.com>2018-10-29 21:09:25 -0400
commit3896e3b593c332087564a767b3d8f2e7c8dbbd25 (patch)
tree1bac50c1afdb97db255a4fbef0b33941c8025f12 /googlemock/include/gmock/internal/gmock-internal-utils.h
parentb8a03c80ad59a4735f852ab13725f2d14ead424f (diff)
parentb9347b31c338851879d0105f0fe32d09007f0433 (diff)
downloadgoogletest-3896e3b593c332087564a767b3d8f2e7c8dbbd25.tar.gz
googletest-3896e3b593c332087564a767b3d8f2e7c8dbbd25.tar.bz2
googletest-3896e3b593c332087564a767b3d8f2e7c8dbbd25.zip
Merge branch 'master' of https://github.com/google/googletest
Diffstat (limited to 'googlemock/include/gmock/internal/gmock-internal-utils.h')
-rw-r--r--googlemock/include/gmock/internal/gmock-internal-utils.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/googlemock/include/gmock/internal/gmock-internal-utils.h b/googlemock/include/gmock/internal/gmock-internal-utils.h
index fd33c004..7514635e 100644
--- a/googlemock/include/gmock/internal/gmock-internal-utils.h
+++ b/googlemock/include/gmock/internal/gmock-internal-utils.h
@@ -92,15 +92,6 @@ inline const typename Pointer::element_type* GetRawPointer(const Pointer& p) {
template <typename Element>
inline Element* GetRawPointer(Element* p) { return p; }
-// This comparator allows linked_ptr to be stored in sets.
-template <typename T>
-struct LinkedPtrLessThan {
- bool operator()(const ::testing::internal::linked_ptr<T>& lhs,
- const ::testing::internal::linked_ptr<T>& rhs) const {
- return lhs.get() < rhs.get();
- }
-};
-
// Symbian compilation can be done with wchar_t being either a native
// type or a typedef. Using Google Mock with OpenC without wchar_t
// should require the definition of _STLP_NO_WCHAR_T.