attempt to fix macos build

This commit is contained in:
mrkraimer
2017-10-05 08:40:37 -04:00
parent cec282f77f
commit 977f078246
2 changed files with 4 additions and 5 deletions

View File

@ -51,7 +51,6 @@ PVRecord::~PVRecord()
if(traceLevel>0) {
cout << "~PVRecord() " << recordName << endl;
}
// destroy();
}
void PVRecord::initPVRecord()

View File

@ -30,12 +30,12 @@ using std::string;
namespace epics { namespace pvDatabase {
static string providerName("local");
static ChannelProvider::shared_pointer channelProvider;
class LocalChannelProviderFactory;
typedef std::tr1::shared_ptr<LocalChannelProviderFactory> LocalChannelProviderFactoryPtr;
static string providerName("local");
static ChannelProviderLocalPtr channelProvider;
class LocalChannelProviderFactory : public ChannelProviderFactory
{
public:
@ -43,7 +43,7 @@ public:
virtual string getFactoryName() { return providerName;}
virtual ChannelProvider::shared_pointer sharedInstance()
{
if(!channelProvider) channelProvider = ChannelProvider::shared_pointer(new ChannelProviderLocal());
if(!channelProvider) channelProvider = ChannelProviderLocalPtr(new ChannelProviderLocal());
return channelProvider;
}
virtual ChannelProvider::shared_pointer newInstance()