summaryrefslogtreecommitdiff
path: root/src/commodity.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/commodity.h')
-rw-r--r--src/commodity.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/commodity.h b/src/commodity.h
index 524daaab..7934f1ad 100644
--- a/src/commodity.h
+++ b/src/commodity.h
@@ -164,7 +164,6 @@ protected:
commodity_pool_t * parent_;
optional<string> qualified_symbol;
- optional<string> mapping_key_;
bool annotated;
explicit commodity_t(commodity_pool_t * _parent,
@@ -218,13 +217,6 @@ public:
return qualified_symbol ? *qualified_symbol : base_symbol();
}
- string mapping_key() const {
- if (mapping_key_)
- return *mapping_key_;
- else
- return base_symbol();
- }
-
optional<std::size_t> graph_index() const {;
return base->graph_index;
}
@@ -325,7 +317,6 @@ private:
ar & base;
ar & parent_;
ar & qualified_symbol;
- ar & mapping_key_;
ar & annotated;
}
#endif // HAVE_BOOST_SERIALIZATION