From fd1753484e5f1a97ec7cb0706bbe6886168612b5 Mon Sep 17 00:00:00 2001 From: vitaut Date: Thu, 19 Nov 2015 07:23:43 -0800 Subject: [PATCH] Fix example --- format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format.h b/format.h index d47cae15..6dec3dce 100644 --- a/format.h +++ b/format.h @@ -2712,7 +2712,7 @@ enum Color { BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE }; Formats a string and prints it to stdout using ANSI escape sequences to specify color (experimental). Example: - PrintColored(fmt::RED, "Elapsed time: {0:.2f} seconds") << 1.23; + print_colored(fmt::RED, "Elapsed time: {0:.2f} seconds", 1.23); */ void print_colored(Color c, CStringRef format, ArgList args);