diff --git a/include/cantera/base/utilities.h b/include/cantera/base/utilities.h index caaa67ddf..20f6290a2 100644 --- a/include/cantera/base/utilities.h +++ b/include/cantera/base/utilities.h @@ -490,10 +490,13 @@ R poly3(D x, R* c) * deep-copied to the other vector * @param toVec Vector of pointers to a templated class. This will be * overwritten and on return will be a copy of the fromVec + * @deprecated Used only in deprecated code. To be removed after Cantera 2.3. */ template void deepStdVectorPointerCopy(const std::vector &fromVec, std::vector &toVec) { + warn_deprecated("deepStdVectorPointerCopy", "Used only in deprecated code." + " To be removed after Cantera 2.3."); size_t is = toVec.size(); for (size_t i = 0; i < is; i++) { delete toVec[i];