diff options
author | Adrian Kummerländer | 2014-05-09 20:24:12 +0200 |
---|---|---|
committer | Adrian Kummerländer | 2014-05-09 20:24:12 +0200 |
commit | e83bbb457c98a0b77ca04e2832d7d0601912acd7 (patch) | |
tree | 8b7a8fb1bdccf44af5044a0996a922042ee56e34 /src/support/dom/document_cache.cc | |
parent | 947603b5d7f05053a93a3cfe257fa7ab11304a90 (diff) | |
download | InputXSLT-e83bbb457c98a0b77ca04e2832d7d0601912acd7.tar InputXSLT-e83bbb457c98a0b77ca04e2832d7d0601912acd7.tar.gz InputXSLT-e83bbb457c98a0b77ca04e2832d7d0601912acd7.tar.bz2 InputXSLT-e83bbb457c98a0b77ca04e2832d7d0601912acd7.tar.lz InputXSLT-e83bbb457c98a0b77ca04e2832d7d0601912acd7.tar.xz InputXSLT-e83bbb457c98a0b77ca04e2832d7d0601912acd7.tar.zst InputXSLT-e83bbb457c98a0b77ca04e2832d7d0601912acd7.zip |
Marked DomDocumentCache::item class as private
* as the xerces document is not instantiated by DomDocumentCache::item and the class only exports a pointer to the converted xalan document, it makes no sense to expose the class to the outside in the first place
Diffstat (limited to 'src/support/dom/document_cache.cc')
-rw-r--r-- | src/support/dom/document_cache.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/support/dom/document_cache.cc b/src/support/dom/document_cache.cc index c4c57d3..81d90aa 100644 --- a/src/support/dom/document_cache.cc +++ b/src/support/dom/document_cache.cc @@ -14,7 +14,7 @@ DomDocumentCache::optional_item DomDocumentCache::get(const std::string& key) { if ( itemIter == this->map_.end() ) { return optional_item(false, nullptr); } else { - return optional_item(true, (*itemIter).second.get()); + return optional_item(true, (*itemIter).second->getXalanDocument()); } } @@ -29,7 +29,7 @@ DomDocumentCache::optional_item DomDocumentCache::create( ); if ( result.second ) { - return optional_item(true, (*(result.first)).second.get()); + return optional_item(true, (*(result.first)).second->getXalanDocument()); } else { return optional_item(false, nullptr); } |