f84cbb1d39
o Update Debian's patch to -35. o Unbreak on gcc-3.3 (same method as openjade/opensp).
11 lines
248 B
C++
11 lines
248 B
C++
--- include/Ptr.cxx.orig Tue Jul 22 09:20:15 2003
|
|
+++ include/Ptr.cxx Tue Jul 22 09:20:42 2003
|
|
@@ -19,7 +19,7 @@
|
|
Ptr<T>::~Ptr()
|
|
{
|
|
if (ptr_) {
|
|
- if (ptr_->unref())
|
|
+ if (((Resource*)ptr_)->unref())
|
|
delete ptr_;
|
|
ptr_ = 0;
|
|
}
|