aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorChad Austin <chad@imvu.com>2013-05-07 14:55:56 -0700
committerChad Austin <chad@imvu.com>2013-05-17 12:57:52 -0700
commit61a7dea5d49d8b190cad04e0f7b34a94704ece01 (patch)
tree756ddd2d5ada39944ed64aa6a891f5ea36d58ff1 /system
parentaf3c155db90051d9772ed2a1cc29f9701f7a9c6c (diff)
Kill some dead code.
Diffstat (limited to 'system')
-rw-r--r--system/include/emscripten/bind.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/system/include/emscripten/bind.h b/system/include/emscripten/bind.h
index 4be50c9d..715a9713 100644
--- a/system/include/emscripten/bind.h
+++ b/system/include/emscripten/bind.h
@@ -828,23 +828,8 @@ namespace emscripten {
}
};
- template<typename PointerType>
- struct ptr {
- typedef PointerType pointer_type;
- };
-
namespace internal {
template<typename T>
- struct is_ptr {
- enum { value = false };
- };
-
- template<typename T>
- struct is_ptr<ptr<T>> {
- enum { value = true };
- };
-
- template<typename T>
struct SmartPtrIfNeeded {
template<typename U>
SmartPtrIfNeeded(U& cls) {
@@ -865,7 +850,6 @@ namespace emscripten {
public:
class_() = delete;
- template<typename = typename std::enable_if<!internal::is_ptr<ClassType>::value>::type>
explicit class_(const char* name) {
using namespace internal;