[0.2.x] fixed : size of pointer to a custom defined type is equal zero

git-svn-id: https://pykd.svn.codeplex.com/svn@82319 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
SND\kernelnet_cp 2013-01-17 12:15:44 +00:00 committed by Mikhail I. Izmestev
parent 7d6f67acd1
commit 169c7b54b6

View File

@ -57,11 +57,12 @@ class CustomBase : public UdtTypeInfoBase
protected: protected:
CustomBase( const std::string &name, ULONG pointerSize, ULONG align ) : CustomBase( const std::string &name, ULONG pointerSize, ULONG align ) :
UdtTypeInfoBase( name ), UdtTypeInfoBase( name )
m_size( 0 ), {
m_ptrSize( pointerSize ), m_ptrSize = pointerSize;
m_align( align ) m_align = align;
{} m_size = 0;
}
void throwIfFiledExist(const std::string &fieldName); void throwIfFiledExist(const std::string &fieldName);
void throwIfTypeRecursive(TypeInfoPtr type); void throwIfTypeRecursive(TypeInfoPtr type);
@ -74,12 +75,8 @@ protected:
protected: protected:
ULONG m_ptrSize;
ULONG m_align; ULONG m_align;
std::string m_name;
ULONG m_size; ULONG m_size;
}; };