• R/O
  • SSH

libcpptools: Commit

This library contains code that extends and simplifies different operations
for C++ language based programs


Commit MetaInfo

Revision5409b5bd463aead7252d4232b7397ac89070a94c (tree)
Time2020-04-11 09:17:46
AuthorSergey Gusarov <laborer2008@gmai...>
CommiterSergey Gusarov

Log Message

Fixed gcc9 compilation

Change Summary

Incremental Difference

diff -r 1c0694d5cc7a -r 5409b5bd463a include/cpptools/types.hpp
--- a/include/cpptools/types.hpp Fri Jan 10 01:03:35 2020 +0300
+++ b/include/cpptools/types.hpp Sat Apr 11 03:17:46 2020 +0300
@@ -125,11 +125,8 @@
125125 {
126126 fit = true;
127127 }
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)
133130 {
134131 fit = true;
135132 }
Show on old repository browser