use Michael Davidsaver version of introspection

This commit is contained in:
Marty Kraimer
2011-04-21 15:21:18 -04:00
parent f611f0550b
commit fc74317993
26 changed files with 413 additions and 465 deletions
+3 -1
View File
@@ -11,6 +11,8 @@
#include "pvData.h"
#include "factory.h"
using std::tr1::static_pointer_cast;
namespace epics { namespace pvData {
PVScalar::~PVScalar() {}
@@ -20,7 +22,7 @@ namespace epics { namespace pvData {
ScalarConstPtr PVScalar::getScalar()
{
return (ScalarConstPtr) PVField::getField();
return static_pointer_cast<const Scalar>(PVField::getField());
}
}}