use & instead of * in misc.

Simplify lock.h
This commit is contained in:
Marty Kraimer
2011-02-18 08:17:17 -05:00
parent b0c04eea53
commit 6d3ef2f5b6
18 changed files with 324 additions and 449 deletions

View File

@@ -544,7 +544,7 @@ PVStructure *PVDataCreate::createPVStructure(PVStructure *parent,
PVDataCreate * getPVDataCreate() {
static Mutex mutex;
Lock xx(&mutex);
Lock xx(mutex);
if(pvDataCreate==0){
pvDataCreate = new PVDataCreate();