mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
StringTest: Make a local function static
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
@@ -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