forked from boostorg/smart_ptr
Add more tests; fix errors
This commit is contained in:
@@ -766,6 +766,10 @@ public:
|
||||
return ti == BOOST_SP_TYPEID(deleter_type)? &reinterpret_cast<char&>(deleter_): 0;
|
||||
}
|
||||
|
||||
void* get_local_deleter(const sp_typeinfo&) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
void* get_untyped_deleter() {
|
||||
return &reinterpret_cast<char&>(deleter_);
|
||||
}
|
||||
@@ -807,6 +811,10 @@ public:
|
||||
return ti == BOOST_SP_TYPEID(deleter_type)? &reinterpret_cast<char&>(deleter_): 0;
|
||||
}
|
||||
|
||||
void* get_local_deleter(const sp_typeinfo&) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
void* get_untyped_deleter() {
|
||||
return &reinterpret_cast<char&>(deleter_);
|
||||
}
|
||||
@@ -853,6 +861,10 @@ public:
|
||||
return ti == BOOST_SP_TYPEID(deleter_type)? &reinterpret_cast<char&>(deleter_): 0;
|
||||
}
|
||||
|
||||
void* get_local_deleter(const sp_typeinfo&) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
void* get_untyped_deleter() {
|
||||
return &reinterpret_cast<char&>(deleter_);
|
||||
}
|
||||
@@ -898,6 +910,10 @@ public:
|
||||
return ti == BOOST_SP_TYPEID(deleter_type)? &reinterpret_cast<char&>(deleter_): 0;
|
||||
}
|
||||
|
||||
void* get_local_deleter(const sp_typeinfo&) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
void* get_untyped_deleter() {
|
||||
return &reinterpret_cast<char&>(deleter_);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user