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
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue