StringTest: Make a local function static
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
1 parent
d128b41844
commit
d4fefd1888
1 file changed
+1
-1
+1
-1
@@ -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) << '"';
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user