RefSnapshot operator
move into class definition to hopefully appease MSVC
This commit is contained in:
@@ -95,17 +95,14 @@ public:
|
||||
counts.swap(o.counts);
|
||||
}
|
||||
|
||||
friend RefSnapshot operator-(const RefSnapshot& lhs, const RefSnapshot& rhs);
|
||||
/** Compute the difference lhs - rhs
|
||||
*
|
||||
* Returned RefSnapshot has Count::current=lhs.current
|
||||
* and Count::delta= lhs.current - rhs.current
|
||||
*/
|
||||
RefSnapshot operator-(const RefSnapshot& rhs) const;
|
||||
};
|
||||
|
||||
/** Compute the difference lhs - rhs
|
||||
*
|
||||
* Returned RefSnapshot has Count::current=lhs.current
|
||||
* and Count::delta= lhs.current - rhs.current
|
||||
*/
|
||||
epicsShareFunc
|
||||
RefSnapshot operator-(const RefSnapshot& lhs, const RefSnapshot& rhs);
|
||||
|
||||
//! Print all counters with a non-zero delta
|
||||
epicsShareFunc
|
||||
std::ostream& operator<<(std::ostream& strm, const RefSnapshot& snap);
|
||||
|
||||
Reference in New Issue
Block a user