Imported Upstream version 1.72.0
[platform/upstream/boost.git] / boost / spirit / home / x3 / char / any_char.hpp
index 6add7b6..42384ec 100644 (file)
@@ -24,7 +24,7 @@ namespace boost { namespace spirit { namespace x3
         template <typename Char, typename Context>
         bool test(Char ch_, Context const&) const
         {
-            return ((sizeof(Char) <= sizeof(char_type)) || encoding::ischar(ch_));
+            return encoding::ischar(ch_);
         }
 
         template <typename Char>