[glom] C++11: DocumentTableInfo: Prevent implicit move constructor.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] C++11: DocumentTableInfo: Prevent implicit move constructor.
- Date: Wed, 1 Jul 2015 10:16:37 +0000 (UTC)
commit 19cb7c23b7c6c0e3fcf030ddf77ea446ef4713b0
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Jul 1 10:15:12 2015 +0200
C++11: DocumentTableInfo: Prevent implicit move constructor.
glom/libglom/document/document.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/glom/libglom/document/document.h b/glom/libglom/document/document.h
index 4e192c1..42ca909 100644
--- a/glom/libglom/document/document.h
+++ b/glom/libglom/document/document.h
@@ -584,7 +584,9 @@ private:
}
DocumentTableInfo(const DocumentTableInfo& src) = delete;
+ DocumentTableInfo(DocumentTableInfo&& src) = delete;
DocumentTableInfo& operator=(const DocumentTableInfo& src) = delete;
+ DocumentTableInfo& operator=(DocumentTableInfo&& src) = delete;
std::shared_ptr<TableInfo> m_info;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]