From 8ebea90f5cee70654ab9f1c19ed4f89dfc8ffb25 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sun, 14 Sep 2014 19:49:15 +0200 Subject: Switched member initialization to std::make_unique * i.e. InputXSLT now requires a C++14 supporting compiler / standard library implementation * this was done while enabling the StreamInputSource to handle all kinds of streams ** this in turn is required to enable e.g. stdin as transformation source while preserving the correct filesystem context --- src/support/dom/document_cache_item.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/support/dom/document_cache_item.h') diff --git a/src/support/dom/document_cache_item.h b/src/support/dom/document_cache_item.h index ebc9172..df24948 100644 --- a/src/support/dom/document_cache_item.h +++ b/src/support/dom/document_cache_item.h @@ -17,7 +17,7 @@ class DomDocumentCache::item { xalan::XalanDocument* getXalanDocument(); protected: - friend DomDocumentCache; + friend std::unique_ptr std::make_unique(document_ptr&&); item(document_ptr&&); -- cgit v1.2.3