undo previous changes to compile for precise, lucid, squeeze
This commit is contained in:
@@ -82,7 +82,7 @@ namespace mrw {
|
|||||||
typedef mrw::AutoResource<bfd*, int(*)(bfd*), &bfd_close, int> AutoBfd;
|
typedef mrw::AutoResource<bfd*, int(*)(bfd*), &bfd_close, int> AutoBfd;
|
||||||
template<class T> class Auto {
|
template<class T> class Auto {
|
||||||
public:
|
public:
|
||||||
typedef mrw::AutoResource<T, void(*)(void*), &free, T, T(0)> Free;
|
typedef mrw::AutoResource<T, void(*)(void*), &free, int, 0> Free;
|
||||||
};
|
};
|
||||||
@endcode
|
@endcode
|
||||||
@param RESOURCE_TYPE type of the resource to manage
|
@param RESOURCE_TYPE type of the resource to manage
|
||||||
@@ -436,7 +436,7 @@ namespace mrw {
|
|||||||
*/
|
*/
|
||||||
template<class T> class Auto {
|
template<class T> class Auto {
|
||||||
public:
|
public:
|
||||||
typedef mrw::AutoResource<T, void(*)(void*), &free, T, T(0), void*> Free;
|
typedef mrw::AutoResource<T, void(*)(void*), &free, int, 0, void*> Free;
|
||||||
private:
|
private:
|
||||||
/** @internal
|
/** @internal
|
||||||
work around compiler warning:
|
work around compiler warning:
|
||||||
|
Reference in New Issue
Block a user