get rid of unnecessary method in class StructureArray

This commit is contained in:
Marty Kraimer
2012-05-16 06:46:23 -04:00
parent 27ce426f46
commit 29593a6eda
2 changed files with 1 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ bool operator==(const Structure& a, const Structure& b)
bool operator==(const StructureArray& a, const StructureArray& b)
{
return a.structure() == b.structure();
return a.getStructure().get()==b.getStructure().get();
}
namespace nconvert {

View File

@@ -332,7 +332,6 @@ public:
typedef StructureArray& reference;
typedef const StructureArray& const_reference;
const Structure& structure() const {return *pstructure;}
/**
* Get the introspection interface for the array elements.
* @return The introspection interface.