Fix NO_STL+NO_XPATH mode
auto_deleter is now used in all modes so we can't exclude it from compilation.
This commit is contained in:
parent
cff35dfa31
commit
86548e14bd
@ -232,7 +232,6 @@ PUGI__NS_BEGIN
|
|||||||
#endif
|
#endif
|
||||||
PUGI__NS_END
|
PUGI__NS_END
|
||||||
|
|
||||||
#if !defined(PUGIXML_NO_STL) || !defined(PUGIXML_NO_XPATH)
|
|
||||||
// auto_ptr-like object for exception recovery
|
// auto_ptr-like object for exception recovery
|
||||||
PUGI__NS_BEGIN
|
PUGI__NS_BEGIN
|
||||||
template <typename T, typename D = void(*)(T*)> struct auto_deleter
|
template <typename T, typename D = void(*)(T*)> struct auto_deleter
|
||||||
@ -257,7 +256,6 @@ PUGI__NS_BEGIN
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
PUGI__NS_END
|
PUGI__NS_END
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef PUGIXML_COMPACT
|
#ifdef PUGIXML_COMPACT
|
||||||
PUGI__NS_BEGIN
|
PUGI__NS_BEGIN
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user