cpp/poppler-page.cpp | 4 ++++ cpp/poppler-page.h | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-)
New commits: commit 06106d930b18a34c18e32734b73c212b852161a5 Author: Aleksey Nikolaev <[email protected]> Date: Thu Aug 16 17:20:00 2018 +0200 Fix build with MSVC diff --git a/cpp/poppler-page.cpp b/cpp/poppler-page.cpp index 1dfc9c75..c3862cef 100644 --- a/cpp/poppler-page.cpp +++ b/cpp/poppler-page.cpp @@ -5,6 +5,7 @@ * Copyright (C) 2018, Suzuki Toshiya <[email protected]> * Copyright (C) 2018, Adam Reichold <[email protected]> * Copyright (C) 2018, Zsombor Hollay-Horvath <[email protected]> + * Copyright (C) 2018, Aleksey Nikolaev <[email protected]> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -296,6 +297,9 @@ text_box_data::~text_box_data() = default; text_box::~text_box() = default; +text_box& text_box::operator=(text_box&& a) = default; +text_box::text_box(text_box&& a) = default; + text_box::text_box(text_box_data *data) : m_data{data} { } diff --git a/cpp/poppler-page.h b/cpp/poppler-page.h index a33192d8..a7dcc872 100644 --- a/cpp/poppler-page.h +++ b/cpp/poppler-page.h @@ -3,6 +3,7 @@ * Copyright (C) 2018, Suzuki Toshiya <[email protected]> * Copyright (C) 2018, Albert Astals Cid <[email protected]> * Copyright (C) 2018, Zsombor Hollay-Horvath <[email protected]> + * Copyright (C) 2018, Aleksey Nikolaev <[email protected]> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -35,8 +36,8 @@ class POPPLER_CPP_EXPORT text_box { friend class page; public: - text_box(text_box&&) = default; - text_box& operator=(text_box&&) = default; + text_box(text_box&&); + text_box& operator=(text_box&&); ~text_box(); _______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
