[glom] Combo_FieldType: Remove an unused predicate class.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] Combo_FieldType: Remove an unused predicate class.
- Date: Tue, 21 Jul 2015 07:36:08 +0000 (UTC)
commit 76378c5b8bf87a70b28820dbcb63f08576a85cd4
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Jul 21 08:35:21 2015 +0200
Combo_FieldType: Remove an unused predicate class.
glom/mode_design/fields/combo_fieldtype.h | 27 ---------------------------
1 files changed, 0 insertions(+), 27 deletions(-)
---
diff --git a/glom/mode_design/fields/combo_fieldtype.h b/glom/mode_design/fields/combo_fieldtype.h
index c02d73a..7227316 100644
--- a/glom/mode_design/fields/combo_fieldtype.h
+++ b/glom/mode_design/fields/combo_fieldtype.h
@@ -29,33 +29,6 @@
namespace Glom
{
-//Predicate for use with algorithms with maps.
-template<class T_map>
-class pred_mapPair_HasValue
-{
-public:
- typedef typename T_map::mapped_type type_value; //earlier versions of gcc had data_type instead of
mapped_type.
- typedef std::pair<typename T_map::key_type, type_value> type_pair;
-
- pred_mapPair_HasValue(type_value valueToFind)
- {
- m_valueToFind = valueToFind;
- }
-
- virtual ~pred_mapPair_HasValue()
- {
- }
-
- bool operator()(const type_pair& item) const
- {
- return item.second == m_valueToFind;
- }
-
-private:
- type_value m_valueToFind;
-};
-
-
class Combo_FieldType : public Gtk::ComboBox
{
public:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]