From 29593a6edaa9556fa1a73a82db405a0789e97170 Mon Sep 17 00:00:00 2001 From: Marty Kraimer Date: Wed, 16 May 2012 06:46:23 -0400 Subject: [PATCH] get rid of unnecessary method in class StructureArray --- pvDataApp/factory/Compare.cpp | 2 +- pvDataApp/pv/pvIntrospect.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pvDataApp/factory/Compare.cpp b/pvDataApp/factory/Compare.cpp index 25b1e0f..d6adb44 100644 --- a/pvDataApp/factory/Compare.cpp +++ b/pvDataApp/factory/Compare.cpp @@ -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 { diff --git a/pvDataApp/pv/pvIntrospect.h b/pvDataApp/pv/pvIntrospect.h index 0f9cced..f03fc2f 100644 --- a/pvDataApp/pv/pvIntrospect.h +++ b/pvDataApp/pv/pvIntrospect.h @@ -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.