fixed possible SEGFAULT in ceateRequest; new stream operator for Field and PVField

This commit is contained in:
Marty Kraimer
2015-02-11 07:26:04 -05:00
parent a277a4fdd5
commit 6cb95c5cfc
10 changed files with 161 additions and 22 deletions

View File

@@ -741,3 +741,12 @@ PVDataCreatePtr getPVDataCreate() {
}
}}
namespace std{
std::ostream& operator<<(std::ostream& o, const epics::pvData::PVField *ptr)
{
if(ptr) return o << *ptr;
return o << "nullptr";
}
}