StringTest: Make a local function static

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter
2014-08-06 14:25:18 +02:00
parent d128b41844
commit d4fefd1888

View File

@@ -18,7 +18,7 @@
#include <znc/ZNCString.h>
// 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) << '"';
}