[core] Move non-polymorphic Interpolate methods to base

This commit is contained in:
John Firebaugh
2018-06-28 07:47:28 -07:00
parent bc771ee02e
commit b2f6acca61
2 changed files with 17 additions and 19 deletions

View File

@@ -189,8 +189,7 @@ std::vector<optional<Value>> InterpolateBase::possibleOutputs() const {
return result;
}
template <typename T>
mbgl::Value Interpolate<T>::serialize() const {
mbgl::Value InterpolateBase::serialize() const {
std::vector<mbgl::Value> serialized;
serialized.emplace_back(getOperator());