From 7d560ed6999b817688cb93633a4b255e7f1e9011 Mon Sep 17 00:00:00 2001 From: vladlosev Date: Fri, 8 Apr 2011 00:42:19 +0000 Subject: [PATCH] Fixes a compiler error when compiling with Visual Age (by Hady Zalek). --- src/gtest-printers.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gtest-printers.cc b/src/gtest-printers.cc index e576ca45..62ea590d 100644 --- a/src/gtest-printers.cc +++ b/src/gtest-printers.cc @@ -138,7 +138,7 @@ enum CharFormat { // Returns true if c is a printable ASCII character. We test the // value of c directly instead of calling isprint(), which is buggy on // Windows Mobile. -static inline bool IsPrintableAscii(wchar_t c) { +inline bool IsPrintableAscii(wchar_t c) { return 0x20 <= c && c <= 0x7E; }