aboutsummaryrefslogtreecommitdiff
path: root/src/support/xerces_string_guard.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/support/xerces_string_guard.cc')
-rw-r--r--src/support/xerces_string_guard.cc18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/support/xerces_string_guard.cc b/src/support/xerces_string_guard.cc
deleted file mode 100644
index 14ad29b..0000000
--- a/src/support/xerces_string_guard.cc
+++ /dev/null
@@ -1,18 +0,0 @@
-#include "xerces_string_guard.h"
-
-namespace InputXSLT {
-
-XercesStringGuard::XercesStringGuard(const std::string& src):
- string_(xercesc::XMLString::transcode(src.data())) { }
-
-XercesStringGuard::~XercesStringGuard() {
- xercesc::XMLString::release(
- const_cast<XMLCh**>(&this->string_)
- );
-}
-
-XMLCh* XercesStringGuard::operator*() {
- return this->string_;
-}
-
-}