From 7655a67384895868c0afa72bfda9a9b2fcfdf323 Mon Sep 17 00:00:00 2001 From: Moritz Pflanzer Date: Sat, 23 Sep 2017 11:57:33 +0100 Subject: COMPMID-507: Move Sobel to new validation Change-Id: Ic0a9dbd8e646abbf8d9ea52e497a5fe60e499cc7 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/88883 Tested-by: Kaizen Reviewed-by: Anthony Barbier --- utils/TypePrinter.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'utils') diff --git a/utils/TypePrinter.h b/utils/TypePrinter.h index 30592fff55..6e2d7e24f3 100644 --- a/utils/TypePrinter.h +++ b/utils/TypePrinter.h @@ -389,6 +389,13 @@ inline ::std::ostream &operator<<(::std::ostream &os, const Format &format) return os; } +inline std::string to_string(const Format &format) +{ + std::stringstream str; + str << format; + return str.str(); +} + /** Formatted output of the Channel type. */ inline ::std::ostream &operator<<(::std::ostream &os, const Channel &channel) { -- cgit v1.2.1