verity: Fix unit test issue with libc++
class Message in logging inherits from ostream which libc++
dislikes since ostream class has a private constructor. Inspection
showed no reason to inherit ostream. Message class only needs
to overload the "<<" operator for logging. So move the already
defined "<<" operator function inside the class.
Remove stream() function and update the macros.
TEST=verity unit tests pass with/without libc++.
Commit-Ready: Manoj Gupta <firstname.lastname@example.org>
Tested-by: Manoj Gupta <email@example.com>
Reviewed-by: Mike Frysinger <firstname.lastname@example.org>
1 file changed