bitwise_and

This commit is contained in:
Michael Davidsaver
2016-03-02 18:22:05 -05:00
parent 031dd94dd1
commit 5fcdfe97f5

View File

@@ -384,8 +384,8 @@ struct PVIFScalarNumeric : public PVIF
virtual void get(epics::pvData::BitSet& mask)
{
getValue(pvmeta);
mask |= pvmeta.maskVALUE;
if(mask.bitwise_and(pvmeta.maskVALUE))
getValue(pvmeta);
}
};