Deprecate the DLIST class

This commit is contained in:
Ian McInerney 2019-12-28 16:15:40 +00:00 committed by Ian McInerney
parent 2999bcb721
commit 07db846ed4
1 changed files with 6 additions and 2 deletions

View File

@ -28,7 +28,7 @@
#include <cstdio> // NULL definition.
#include <wx/defs.h> // wxDEPRECATED_MSG macro
class EDA_ITEM;
@ -139,7 +139,11 @@ public:
* @see DHEAD for additional public functions.
*/
template <class T>
class DLIST : public DHEAD
class
#if !defined( EESCHEMA ) && !defined( GERBVIEW )
wxDEPRECATED_MSG( "DLIST is deprecated, do not use in new code" )
#endif
DLIST : public DHEAD
{
public: