summaryrefslogtreecommitdiff
path: root/goo
diff options
context:
space:
mode:
authorOliver Sander <oliver.sander@tu-dresden.de>2018-12-02 21:02:51 +0100
committerAlbert Astals Cid <tsdgeos@yahoo.es>2019-03-21 22:28:13 +0000
commit9bc752c7fabe190987ae46ed28620b62cdff60e9 (patch)
tree0580e37fe3d829a4fe8ec7954239755fde685e04 /goo
parentfa8f3f22e85a5508fa53e8604b079e9b73e63f76 (diff)
Remove GooList completely
Diffstat (limited to 'goo')
-rw-r--r--goo/GooList.h53
1 files changed, 0 insertions, 53 deletions
diff --git a/goo/GooList.h b/goo/GooList.h
deleted file mode 100644
index c95dbccf..00000000
--- a/goo/GooList.h
+++ /dev/null
@@ -1,53 +0,0 @@
-//========================================================================
-//
-// GooList.h
-//
-// Copyright 2001-2003 Glyph & Cog, LLC
-//
-//========================================================================
-
-//========================================================================
-//
-// Modified under the Poppler project - http://poppler.freedesktop.org
-//
-// All changes made under the Poppler project to this file are licensed
-// under GPL version 2 or later
-//
-// Copyright (C) 2012, 2018 Albert Astals Cid <aacid@kde.org>
-// Copyright (C) 2018 Adam Reichold <adam.reichold@t-online.de>
-//
-// To see a description of the changes please see the Changelog file that
-// came with your tarball or type make ChangeLog if you are building from git
-//
-//========================================================================
-
-#ifndef GOO_LIST_H
-#define GOO_LIST_H
-
-#include <algorithm>
-#include <vector>
-
-//------------------------------------------------------------------------
-// GooList
-//------------------------------------------------------------------------
-
-template <typename T>
-class GooList : public std::vector<T> {
-public:
-
- // Create an empty list.
- GooList() = default;
-
- // Movable but not copyable
- GooList(GooList &&other) = default;
- GooList& operator=(GooList &&other) = default;
-
- GooList(const GooList &other) = delete;
- GooList& operator=(const GooList &other) = delete;
-
- // Zero cost conversion from std::vector
- explicit GooList(const std::vector<T>& vec) : std::vector<T>(vec) {}
- explicit GooList(std::vector<T>&& vec) : std::vector<T>(std::move(vec)) {}
-};
-
-#endif // GOO_LIST_H