mirror of
https://github.com/RPCS3/pugixml.git
synced 2026-01-31 01:25:21 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user