summaryrefslogtreecommitdiff
path: root/libstdc++-v3/config/os/generic/ctype_inline.h
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/config/os/generic/ctype_inline.h')
-rw-r--r--libstdc++-v3/config/os/generic/ctype_inline.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/libstdc++-v3/config/os/generic/ctype_inline.h b/libstdc++-v3/config/os/generic/ctype_inline.h
index 3347d3324d2..2ec02ae9ac9 100644
--- a/libstdc++-v3/config/os/generic/ctype_inline.h
+++ b/libstdc++-v3/config/os/generic/ctype_inline.h
@@ -30,10 +30,10 @@
//
// ISO C++ 14882: 22.1 Locales
//
-
+
// ctype bits to be inlined go here. Non-inlinable (ie virtual do_*)
// functions go in ctype.cc
-
+
// The following definitions are portable, but insanely slow. If one
// cares at all about performance, then specialized ctype
// functionality should be added for the native os in question: see
@@ -48,13 +48,13 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
bool
ctype<char>::
is(mask __m, char __c) const
- {
+ {
if (_M_table)
return _M_table[static_cast<unsigned char>(__c)] & __m;
else
{
bool __ret = false;
- const size_t __bitmasksize = 15;
+ const size_t __bitmasksize = 15;
size_t __bitcur = 0; // Lowest bitmask in ctype_base == 0
for (; __bitcur <= __bitmasksize; ++__bitcur)
{
@@ -112,7 +112,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
return __ret;
}
}
-
+
const char*
ctype<char>::
is(const char* __low, const char* __high, mask* __vec) const
@@ -123,12 +123,12 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
else
{
// Highest bitmask in ctype_base == 11.
- const size_t __bitmasksize = 15;
+ const size_t __bitmasksize = 15;
for (;__low < __high; ++__vec, ++__low)
{
mask __m = 0;
// Lowest bitmask in ctype_base == 0
- size_t __i = 0;
+ size_t __i = 0;
for (;__i <= __bitmasksize; ++__i)
{
const mask __bit = static_cast<mask>(1 << __i);