Permalink
Browse files

StringTest: Make a local function static

Signed-off-by: Uli Schlachter <psychon@znc.in>
  • Loading branch information...
1 parent d128b41 commit d4fefd188827f8ad0fda519b853c4c16758b4d20 @psychon psychon committed Aug 6, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/StringTest.cpp
View
@@ -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) << '"';
}

0 comments on commit d4fefd1

Please sign in to comment.