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:
Arseny Kapoulkine 2015-05-03 17:56:22 -07:00
parent cff35dfa31
commit 86548e14bd

View file

@ -232,7 +232,6 @@ PUGI__NS_BEGIN
#endif
PUGI__NS_END
#if !defined(PUGIXML_NO_STL) || !defined(PUGIXML_NO_XPATH)
// auto_ptr-like object for exception recovery
PUGI__NS_BEGIN
template <typename T, typename D = void(*)(T*)> struct auto_deleter
@ -257,7 +256,6 @@ PUGI__NS_BEGIN
}
};
PUGI__NS_END
#endif
#ifdef PUGIXML_COMPACT
PUGI__NS_BEGIN