[poppler] cpp/poppler-page.cpp cpp/poppler-page.h

Albert Astals Cid aacid at kemper.freedesktop.org
Thu Aug 16 15:20:59 UTC 2018


 cpp/poppler-page.cpp |    4 ++++
 cpp/poppler-page.h   |    5 +++--
 2 files changed, 7 insertions(+), 2 deletions(-)

New commits:
commit 06106d930b18a34c18e32734b73c212b852161a5
Author: Aleksey Nikolaev <nae202 at gmail.com>
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 <mpsuzuki at hiroshima-u.ac.jp>
  * Copyright (C) 2018, Adam Reichold <adam.reichold at t-online.de>
  * Copyright (C) 2018, Zsombor Hollay-Horvath <hollay.horvath at gmail.com>
+ * Copyright (C) 2018, Aleksey Nikolaev <nae202 at gmail.com>
  *
  * 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 <mpsuzuki at hiroshima-u.ac.jp>
  * Copyright (C) 2018, Albert Astals Cid <aacid at kde.org>
  * Copyright (C) 2018, Zsombor Hollay-Horvath <hollay.horvath at gmail.com>
+ * Copyright (C) 2018, Aleksey Nikolaev <nae202 at gmail.com>
  *
  * 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();
 


More information about the poppler mailing list