summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-05-03 17:56:22 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-05-03 17:58:20 -0700
commit86548e14bd33789e2cb967f8364c3cd3ef80f7cd (patch)
treec466159dc5bf0f1ab3ce054aa2265029cb1d0f3a /src
parentcff35dfa31cc1030e86d7f5d045d709b2fdd4506 (diff)
Fix NO_STL+NO_XPATH mode
auto_deleter is now used in all modes so we can't exclude it from compilation.
Diffstat (limited to 'src')
-rw-r--r--src/pugixml.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index caf4ad3..b1e81ad 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -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