another attempt to fix windows build
This commit is contained in:
@@ -31,15 +31,15 @@ namespace epics { namespace pvDatabase {
|
||||
|
||||
static PVDatabasePtr pvDatabaseMaster;
|
||||
|
||||
bool PVDatabase::getMasterFirstCall = true;
|
||||
|
||||
PVDatabasePtr PVDatabase::getMaster()
|
||||
{
|
||||
if(getMasterFirstCall) {
|
||||
getMasterFirstCall = false;
|
||||
static bool firstTime = true;
|
||||
if(firstTime) {
|
||||
firstTime = false;
|
||||
pvDatabaseMaster = PVDatabasePtr(new PVDatabase());
|
||||
PVArrayPlugin::create();
|
||||
PVTimestampPlugin::create();
|
||||
PVDeadbandPlugin::create();
|
||||
}
|
||||
return pvDatabaseMaster;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user