From a972a7f558bbe3e8a9b0e22e724a67704f9ae399 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Thu, 6 Jun 2013 15:32:56 +0000 Subject: [PATCH] Deprecate class Elements --- include/cantera/thermo/Elements.h | 2 ++ src/thermo/Elements.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/include/cantera/thermo/Elements.h b/include/cantera/thermo/Elements.h index f57b275c2..8591867de 100644 --- a/include/cantera/thermo/Elements.h +++ b/include/cantera/thermo/Elements.h @@ -110,6 +110,8 @@ class XML_Node; * in a particular instantiation of the class. * * @ingroup phases + * @deprecated The functionality of this class was merged into class Phase in + * Cantera 2.0. This class will be removed in Cantera 2.2. */ class Elements { diff --git a/src/thermo/Elements.cpp b/src/thermo/Elements.cpp index 0d7210fd8..b84e8d6d6 100644 --- a/src/thermo/Elements.cpp +++ b/src/thermo/Elements.cpp @@ -216,6 +216,7 @@ Elements::Elements() : m_elem_type(0), numSubscribers(0) { + warn_deprecated("class Elements"); } /*