diff options
author | vladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925> | 2011-04-08 00:42:19 (GMT) |
---|---|---|
committer | vladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925> | 2011-04-08 00:42:19 (GMT) |
commit | 7d560ed6999b817688cb93633a4b255e7f1e9011 (patch) | |
tree | 190276e53d03a1bdc7839574244c7bf8620c4cca /src | |
parent | 962b6554f44c3d3e4a8b4c949c89cf77b744d210 (diff) | |
download | googletest-7d560ed6999b817688cb93633a4b255e7f1e9011.zip googletest-7d560ed6999b817688cb93633a4b255e7f1e9011.tar.gz googletest-7d560ed6999b817688cb93633a4b255e7f1e9011.tar.bz2 |
Fixes a compiler error when compiling with Visual Age (by Hady Zalek).
Diffstat (limited to 'src')
-rw-r--r-- | src/gtest-printers.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |