From 86548e14bd33789e2cb967f8364c3cd3ef80f7cd Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Sun, 3 May 2015 17:56:22 -0700 Subject: Fix NO_STL+NO_XPATH mode auto_deleter is now used in all modes so we can't exclude it from compilation. --- src/pugixml.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') 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 struct auto_deleter @@ -257,7 +256,6 @@ PUGI__NS_BEGIN } }; PUGI__NS_END -#endif #ifdef PUGIXML_COMPACT PUGI__NS_BEGIN -- cgit v1.2.3