From d4fefd188827f8ad0fda519b853c4c16758b4d20 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Wed, 6 Aug 2014 14:25:18 +0200 Subject: [PATCH] StringTest: Make a local function static Signed-off-by: Uli Schlachter --- test/StringTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/StringTest.cpp b/test/StringTest.cpp index b27fc182..02be98fb 100644 --- a/test/StringTest.cpp +++ b/test/StringTest.cpp @@ -18,7 +18,7 @@ #include // GTest uses this function to output objects -void PrintTo(const CString& s, std::ostream* o) { +static void PrintTo(const CString& s, std::ostream* o) { *o << '"' << s.Escape_n(CString::EASCII, CString::EDEBUG) << '"'; }