Commit 06106d93 authored by Aleksey Nikolaev's avatar Aleksey Nikolaev Committed by Albert Astals Cid

Fix build with MSVC

parent 04db8bd2
......@@ -5,6 +5,7 @@
* Copyright (C) 2018, Suzuki Toshiya <mpsuzuki@hiroshima-u.ac.jp>
* Copyright (C) 2018, Adam Reichold <adam.reichold@t-online.de>
* Copyright (C) 2018, Zsombor Hollay-Horvath <hollay.horvath@gmail.com>
* Copyright (C) 2018, Aleksey Nikolaev <nae202@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}
{
}
......
......@@ -3,6 +3,7 @@
* Copyright (C) 2018, Suzuki Toshiya <mpsuzuki@hiroshima-u.ac.jp>
* Copyright (C) 2018, Albert Astals Cid <aacid@kde.org>
* Copyright (C) 2018, Zsombor Hollay-Horvath <hollay.horvath@gmail.com>
* Copyright (C) 2018, Aleksey Nikolaev <nae202@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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment