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) << '"'; }