diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-04-13 17:12:02 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-04-13 17:12:02 -0600 |
commit | 2a815aa47083c49b9a809056004bd9a01e87221c (patch) | |
tree | e41801257e0cd4e27dc3516d8fd8216104a4c648 /misc/uClibc++/include/uClibc++/char_traits | |
parent | 638c1a6dc07b438efa220c5345e94c3a963505ca (diff) | |
download | nuttx-2a815aa47083c49b9a809056004bd9a01e87221c.tar.gz nuttx-2a815aa47083c49b9a809056004bd9a01e87221c.tar.bz2 nuttx-2a815aa47083c49b9a809056004bd9a01e87221c.zip |
Restore trainling whitespace in .patch and .diff files wehre required
Diffstat (limited to 'misc/uClibc++/include/uClibc++/char_traits')
-rw-r--r-- | misc/uClibc++/include/uClibc++/char_traits | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/misc/uClibc++/include/uClibc++/char_traits b/misc/uClibc++/include/uClibc++/char_traits index ec2900ba7..ee05be24d 100644 --- a/misc/uClibc++/include/uClibc++/char_traits +++ b/misc/uClibc++/include/uClibc++/char_traits @@ -62,14 +62,14 @@ namespace std // Specialize for char - template<> struct _UCXXEXPORT char_traits<char> + template<> struct _UCXXEXPORT char_traits<char> { typedef char char_type; typedef short int int_type; typedef char_traits_off_type off_type; typedef char_traits_off_type pos_type; typedef char state_type; - + inline static void assign(char_type & c, const char_type & d) { c = d; } static bool eq(const char_type& c1, const char_type& c2); @@ -142,7 +142,7 @@ namespace std { return 0; } - else + else { return i; } @@ -157,7 +157,7 @@ namespace std }; #ifdef __UCLIBCXX_HAS_WCHAR__ - template<> struct _UCXXEXPORT char_traits<wchar_t> + template<> struct _UCXXEXPORT char_traits<wchar_t> { typedef wchar_t char_type; typedef wint_t int_type; @@ -242,7 +242,7 @@ namespace std inline static char_type eos() { return 0; } inline static int_type eof() { return WEOF; } - inline static int_type not_eof(const int_type & i) + inline static int_type not_eof(const int_type & i) { if (i == WEOF) { |