Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-419 #1

Merged
merged 9 commits into from
Sep 6, 2014
4 changes: 2 additions & 2 deletions include/lsst/afw/table/Schema.h
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ class SubSchema {
* wrappers provide an equivalent asKey() method.
*/
template <typename T>
operator Key<T>() const { return _impl->find<T>(_name).key; }
operator Key<T>() const { return _impl->find<T>(_aliases->apply(_name)).key; }

/**
* @brief Implicit conversion to the appropriate Key type.
Expand All @@ -390,7 +390,7 @@ class SubSchema {
* wrappers provide an equivalent asField() method.
*/
template <typename T>
operator Field<T>() const { return _impl->find<T>(_name).field; }
operator Field<T>() const { return _impl->find<T>(_aliases->apply(_name)).field; }

private:

Expand Down