summaryrefslogtreecommitdiffstats
path: root/indexlib/boost-compat/shared_ptr.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-12-31 11:24:44 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-12-31 23:45:25 +0900
commit68129f0f2daa7db91578b010a9f0ea6830766168 (patch)
tree2186b6f379b015bca3df03ce70fc2a11353ab746 /indexlib/boost-compat/shared_ptr.h
parent69430d0f797046626c52c1bebf61737da7c97e2f (diff)
downloadtdepim-68129f0f2daa7db91578b010a9f0ea6830766168.tar.gz
tdepim-68129f0f2daa7db91578b010a9f0ea6830766168.zip
Remove support for Metrowerks compiler
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit cf77371af416089034949edd8aed088432a9adfb)
Diffstat (limited to 'indexlib/boost-compat/shared_ptr.h')
-rw-r--r--indexlib/boost-compat/shared_ptr.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/indexlib/boost-compat/shared_ptr.h b/indexlib/boost-compat/shared_ptr.h
index a37976fa..a369dc0f 100644
--- a/indexlib/boost-compat/shared_ptr.h
+++ b/indexlib/boost-compat/shared_ptr.h
@@ -244,14 +244,6 @@ public:
return px != 0;
}
-#elif defined(__MWERKS__) && BOOST_WORKAROUND(__MWERKS__, BOOST_TESTED_AT(0x3003))
- typedef T * (this_type::*unspecified_bool_type)() const;
-
- operator unspecified_bool_type() const // never throws
- {
- return px == 0? 0: &this_type::get;
- }
-
#else
typedef T * this_type::*unspecified_bool_type;