summaryrefslogtreecommitdiff
path: root/sysutils/searchmonkey/files/patch-Utility.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/searchmonkey/files/patch-Utility.h')
-rw-r--r--sysutils/searchmonkey/files/patch-Utility.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/sysutils/searchmonkey/files/patch-Utility.h b/sysutils/searchmonkey/files/patch-Utility.h
deleted file mode 100644
index 18ac07b0b605..000000000000
--- a/sysutils/searchmonkey/files/patch-Utility.h
+++ /dev/null
@@ -1,35 +0,0 @@
---- Utility.h.orig 2010-05-16 20:37:32.000000000 +0900
-+++ Utility.h 2012-10-17 06:41:46.000000000 +0900
-@@ -92,16 +92,6 @@
- CallEach(observers, searchable, &Subject::Register);
- here the Subject is the type of Caller
- */
--template <typename CalleeContainer, typename Caller, typename Op>
--void CallEach(const CalleeContainer& container, Caller& caller, Op op)
--{
-- for_each(container.begin(), container.end(), bind1st(mem_fun(op), caller));
--}
--template <typename T>
--bool IsValueInRange(T value, T lowerBound, T upperBound)
--{
-- return LowerBoundFit(value, lowerBound) && UpperBoundFit(value, upperBound);
--}
- template <typename T>
- bool BoundSpecified(T boundValue)
- {
-@@ -129,5 +119,15 @@
-
- return false;
- }
-+template <typename CalleeContainer, typename Caller, typename Op>
-+void CallEach(const CalleeContainer& container, Caller& caller, Op op)
-+{
-+ for_each(container.begin(), container.end(), bind1st(mem_fun(op), caller));
-+}
-+template <typename T>
-+bool IsValueInRange(T value, T lowerBound, T upperBound)
-+{
-+ return LowerBoundFit(value, lowerBound) && UpperBoundFit(value, upperBound);
-+}
-
- #endif