summaryrefslogtreecommitdiff
path: root/project2/common/columns.h
diff options
context:
space:
mode:
Diffstat (limited to 'project2/common/columns.h')
-rw-r--r--project2/common/columns.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/project2/common/columns.h b/project2/common/columns.h
index d0b62d9..bc62447 100644
--- a/project2/common/columns.h
+++ b/project2/common/columns.h
@@ -15,6 +15,7 @@ class Column : public IntrusivePtrBase {
const unsigned int idx;
const Glib::ustring name;
+ const std::string key;
const Variable defValue;
};
@@ -23,7 +24,7 @@ struct byColName {};
typedef boost::multi_index::multi_index_container<boost::intrusive_ptr<Column>,
boost::multi_index::indexed_by<
boost::multi_index::ordered_unique<
- boost::multi_index::tag<byColName>, BOOST_MULTI_INDEX_MEMBER(Column, const Glib::ustring, name)>,
+ boost::multi_index::tag<byColName>, BOOST_MULTI_INDEX_MEMBER(Column, const std::string, key)>,
boost::multi_index::ordered_unique<
boost::multi_index::tag<byColIdx>, BOOST_MULTI_INDEX_MEMBER(Column, const unsigned int, idx)>
> > Columns;