diff options
author | vladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925> | 2011-04-08 00:42:19 +0000 |
---|---|---|
committer | vladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925> | 2011-04-08 00:42:19 +0000 |
commit | fb276159eb15048ea00348b763ae2a63e011e8c7 (patch) | |
tree | 190276e53d03a1bdc7839574244c7bf8620c4cca | |
parent | e5c597132926ef2742ea7d89076117b9ae22b117 (diff) | |
download | googletest-fb276159eb15048ea00348b763ae2a63e011e8c7.tar.gz |
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
-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; } |