From fb276159eb15048ea00348b763ae2a63e011e8c7 Mon Sep 17 00:00:00 2001 From: vladlosev Date: Fri, 8 Apr 2011 00:42:19 +0000 Subject: Fixes a compiler error when compiling with Visual Age (by Hady Zalek). git-svn-id: http://googletest.googlecode.com/svn/trunk@565 861a406c-534a-0410-8894-cb66d6ee9925 --- src/gtest-printers.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gtest-printers.cc') diff --git a/src/gtest-printers.cc b/src/gtest-printers.cc index e576ca4..62ea590 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; } -- cgit v1.2.3