mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
659 B
29 lines
659 B
//+-------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
//
|
|
// Copyright (C) Microsoft Corporation, 1997 - 1998
|
|
//
|
|
// File: gndleak.cpp
|
|
//
|
|
//--------------------------------------------------------------------------
|
|
|
|
//
|
|
// Leak checking variables for common classes
|
|
//
|
|
|
|
#include <basetsd.h>
|
|
#include "basics.h"
|
|
#include "gmobj.h"
|
|
|
|
LEAK_VAR_DEF(GNODE)
|
|
LEAK_VAR_DEF(GEDGE)
|
|
|
|
void GLNKEL :: ThrowInvalidClone ( const GLNKEL & t )
|
|
{
|
|
SZC szcTypeName = typeid(t).name();
|
|
ZSTR zsMsg;
|
|
zsMsg.Format("objects of type \'%s\' do not support cloning", szcTypeName);
|
|
THROW_ASSERT( EC_INVALID_CLONE, zsMsg.Szc() );
|
|
}
|
|
|