diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-18 23:38:33 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-23 09:50:02 +0900 |
| commit | f9ec1da001f5dfa94cc8aa8f584f017514432691 (patch) | |
| tree | 237d50104c2d99fa4d62a6eaf39ddff63aba92ba | |
| parent | aa5bb4434eb6b60314787106284ad99294de4468 (diff) | |
| download | tellico-f9ec1da0.tar.gz tellico-f9ec1da0.zip | |
Replace auto_ptr
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 55ea90e756410fb86e28de6ed7bd5cc7254f0920)
| -rw-r--r-- | src/translators/xsltimporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/translators/xsltimporter.cpp b/src/translators/xsltimporter.cpp index 65f22e2..d547931 100644 --- a/src/translators/xsltimporter.cpp +++ b/src/translators/xsltimporter.cpp @@ -33,7 +33,7 @@ namespace { static bool isUTF8(const KURL& url_) { // read first line to check encoding - std::auto_ptr<Tellico::FileHandler::FileRef> ref(Tellico::FileHandler::fileRef(url_)); + std::unique_ptr<Tellico::FileHandler::FileRef> ref(Tellico::FileHandler::fileRef(url_)); if(!ref->isValid()) { return false; } |
