summaryrefslogtreecommitdiff
path: root/cpp/poppler-document-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/poppler-document-private.h')
-rw-r--r--cpp/poppler-document-private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/poppler-document-private.h b/cpp/poppler-document-private.h
index e67072b6..2f662204 100644
--- a/cpp/poppler-document-private.h
+++ b/cpp/poppler-document-private.h
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2009-2011, Pino Toscano <pino@kde.org>
- * Copyright (C) 2018, 2020, Albert Astals Cid <aacid@kde.org>
+ * Copyright (C) 2018, 2020, 2022, Albert Astals Cid <aacid@kde.org>
* Copyright (C) 2018, 2020, Adam Reichold <adam.reichold@t-online.de>
*
* This program is free software; you can redistribute it and/or modify
@@ -38,7 +38,7 @@ class embedded_file;
class document_private : private GlobalParamsIniter
{
public:
- document_private(GooString *file_path, const std::string &owner_password, const std::string &user_password);
+ document_private(std::unique_ptr<GooString> &&file_path, const std::string &owner_password, const std::string &user_password);
document_private(byte_array *file_data, const std::string &owner_password, const std::string &user_password);
document_private(const char *file_data, int file_data_length, const std::string &owner_password, const std::string &user_password);
~document_private();