This library contains code that extends and simplifies different operations
for C++ language based programs
Revisión | 5409b5bd463aead7252d4232b7397ac89070a94c (tree) |
---|---|
Tiempo | 2020-04-11 09:17:46 |
Autor | Sergey Gusarov <laborer2008@gmai...> |
Commiter | Sergey Gusarov |
Fixed gcc9 compilation
@@ -125,11 +125,8 @@ | ||
125 | 125 | { |
126 | 126 | fit = true; |
127 | 127 | } |
128 | - else if (std::is_same<T, signed wchar_t>::value) | |
129 | - { | |
130 | - fit = true; | |
131 | - } | |
132 | - else if (std::is_same<T, unsigned wchar_t>::value) | |
128 | + // wchar_t cannot be signed or unsigned | |
129 | + else if (std::is_same<T, wchar_t>::value) | |
133 | 130 | { |
134 | 131 | fit = true; |
135 | 132 | } |