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 <email@example.com>
Tested-by: Manoj Gupta <firstname.lastname@example.org>
Reviewed-by: Mike Frysinger <email@example.com>
1 file changed