diff --git a/include/lsst/afw/table/AliasMap.h b/include/lsst/afw/table/AliasMap.h index ef5829acd..16d460a4e 100644 --- a/include/lsst/afw/table/AliasMap.h +++ b/include/lsst/afw/table/AliasMap.h @@ -118,6 +118,9 @@ class AliasMap final { /// Return true if all aliases in this are also in other (with the same targets). bool contains(AliasMap const& other) const; + std::shared_ptr getTable() const { return _table.lock(); } + void setTable(std::shared_ptr table) { _table = table; } + private: friend class Schema; friend class SubSchema;